Skip to content

Commit

Permalink
Changed default popupWidthConstraint to anchorFixSize
Browse files Browse the repository at this point in the history
  • Loading branch information
sunarya-thito committed Nov 24, 2024
1 parent 8850a0b commit ba6da31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/components/form/select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class Select<T> extends StatefulWidget {
this.focusNode,
this.constraints,
this.popupConstraints,
this.popupWidthConstraint = PopoverConstraint.anchorMinSize,
this.popupWidthConstraint = PopoverConstraint.anchorFixedSize,
this.value,
this.showUnrelatedValues = false,
this.orderSelectedFirst = true,
Expand Down Expand Up @@ -913,7 +913,7 @@ class MultiSelect<T> extends StatefulWidget {
this.focusNode,
this.constraints,
this.popupConstraints,
this.popupWidthConstraint = PopoverConstraint.anchorMinSize,
this.popupWidthConstraint = PopoverConstraint.anchorFixedSize,
required this.value,
this.showUnrelatedValues = false,
this.orderSelectedFirst = true,
Expand Down

0 comments on commit ba6da31

Please sign in to comment.