From ba6da31254ee0be4ff62e7759ee23ce99b7b32dc Mon Sep 17 00:00:00 2001 From: Thito Yalasatria Sunarya Date: Sun, 24 Nov 2024 09:21:03 +0700 Subject: [PATCH] Changed default popupWidthConstraint to anchorFixSize --- lib/src/components/form/select.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/components/form/select.dart b/lib/src/components/form/select.dart index 7f1bdf85..2c0b7c1d 100644 --- a/lib/src/components/form/select.dart +++ b/lib/src/components/form/select.dart @@ -310,7 +310,7 @@ class Select extends StatefulWidget { this.focusNode, this.constraints, this.popupConstraints, - this.popupWidthConstraint = PopoverConstraint.anchorMinSize, + this.popupWidthConstraint = PopoverConstraint.anchorFixedSize, this.value, this.showUnrelatedValues = false, this.orderSelectedFirst = true, @@ -913,7 +913,7 @@ class MultiSelect 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,