Fix language dropdown appearing above button on Find A Course page (#5788)
* Initial plan * Fix Find A Course language dropdown search bar going to top of screen Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> * Fix dropdown positioning by adding maxHeight to DropdownStyleData Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> * chore: replace autofocus --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
ecebba63b3
commit
54a9a9a500
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:dropdown_button2/dropdown_button2.dart';
|
||||
|
||||
import 'package:fluffychat/pangea/common/widgets/dropdown_text_button.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class CoursePlanFilter<T> extends StatefulWidget {
|
||||
final T? value;
|
||||
|
|
@ -82,6 +81,7 @@ class CoursePlanFilterState<T> extends State<CoursePlanFilter<T>> {
|
|||
),
|
||||
dropdownStyleData: DropdownStyleData(
|
||||
elevation: 8,
|
||||
maxHeight: kIsWeb ? 500 : 300,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(14),
|
||||
color: theme.colorScheme.surfaceContainerHigh,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue