You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default behavior of shrink wrapping items has a bad UX as the list resizes when the number of available choices are changed e.g. when user taps to select a different set of items, which should be made configurable so that it could be disabled, while keeping the default behavior intact for backward compatibility.
Current behavior:
SizeIssueBefore.mp4
Expected behavior:
SizeIssueFix.mp4
The text was updated successfully, but these errors were encountered:
absar
added a commit
to absar/flutter_awesome_select
that referenced
this issue
Oct 3, 2022
…list items using `S2ChoiceConfig.shrinkWrap` or `SmartSelect.single.choiceShrinkWrap`/`SmartSelect.multiple.choiceShrinkWrap`.
If `choiceShrinkWrap` is true choices list will shrink wrap the choices, causing the list to resize based on the number of available choices, by default it will shrink wrap which was the default behaviour before this change.
absar
linked a pull request
Oct 3, 2022
that will
close
this issue
Fixed in PR #25. Added a new parameter to not shrink wrap list items using S2ChoiceConfig.shrinkWrap or SmartSelect.single.choiceShrinkWrap/SmartSelect.multiple.choiceShrinkWrap. If choiceShrinkWrap is true choices list will shrink wrap the choices, causing the list to resize based on the number of available choices, by default it will shrink wrap which was the default behavior before this change. Usage:
The default behavior of shrink wrapping items has a bad UX as the list resizes when the number of available choices are changed e.g. when user taps to select a different set of items, which should be made configurable so that it could be disabled, while keeping the default behavior intact for backward compatibility.
Current behavior:
SizeIssueBefore.mp4
Expected behavior:
SizeIssueFix.mp4
The text was updated successfully, but these errors were encountered: