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
Describe the bug
I have a Row that contains two widgets:
AutoSuggestBox inside an Expanded
TextBox inside an IntrinsicWidth
When a selection is made with AutoSuggestBox, in its onSelected event, the controller.text is set for the TextBox. Since the TextBox is inside an IntrinsicWidth, it resizes when the length of its content changes, which in turn causes a resize of the AutoSuggestBox.
When the resize of the AutoSuggestBox happens, it re-opens its dropdown.
This behaviour happens with version 4.0.0-pre.2 and not with version 3.
Note: This behaviour does not occur when the resize of the AutoSuggestBox happens due to a Button click. It only happens when the resize is caused during the onSelected event of the AutoSuggestBox.
To Reproduce
A reproducible case is available
Expected behavior
Like with v3 of fluent_ui, I expect the dropdown not to re-open when the AutoSuggestBox resizes.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a Row that contains two widgets:
When a selection is made with AutoSuggestBox, in its onSelected event, the controller.text is set for the TextBox. Since the TextBox is inside an IntrinsicWidth, it resizes when the length of its content changes, which in turn causes a resize of the AutoSuggestBox.
When the resize of the AutoSuggestBox happens, it re-opens its dropdown.
This behaviour happens with version 4.0.0-pre.2 and not with version 3.
Note: This behaviour does not occur when the resize of the AutoSuggestBox happens due to a Button click. It only happens when the resize is caused during the onSelected event of the AutoSuggestBox.
To Reproduce
A reproducible case is available
Expected behavior
Like with v3 of fluent_ui, I expect the dropdown not to re-open when the AutoSuggestBox resizes.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: