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
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? Perhaps, if pointed in the right direction.
Requested priority: Normal
Describe the issue:
I am having some difficulties with freeform-entered options in uncontrolled ComboBoxes. Specifically, after creating an option by typing it in and pressing enter, if I open the dropdown and press the escape key to close the dropdown/blur, the selection disappears. I've made a codepen to illustrate the issue.
Actual behavior:
Freeform-entered options can be cleared, leaving a blank field. onChanged does not fire, but the field remains blank.
Expected behavior:
Pressing escape would not clear out the selection, and would behave just as it does when choosing an option from the dropdown, opening the dropdown, and pressing escape.
This issue has been automatically marked as stale because it has not activity for 30 days. It will be closed if no further activity occurs within 14 days of this comment. Thank you for your contributions to Fabric React! Why am I receiving this notification?
With this same CodePen I'm also seeing this issue where showing the dropdown and just clicking elsewhere on the page adds a phantom option. There may be a race condition or improperly call callbacks calling this issue.
Bug Report
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? Perhaps, if pointed in the right direction.
Requested priority: Normal
Describe the issue:
I am having some difficulties with freeform-entered options in uncontrolled ComboBoxes. Specifically, after creating an option by typing it in and pressing enter, if I open the dropdown and press the escape key to close the dropdown/blur, the selection disappears. I've made a codepen to illustrate the issue.
Actual behavior:
Freeform-entered options can be cleared, leaving a blank field.
onChanged
does not fire, but the field remains blank.Expected behavior:
Pressing escape would not clear out the selection, and would behave just as it does when choosing an option from the dropdown, opening the dropdown, and pressing escape.
If applicable, please provide a codepen repro:
https://codepen.io/IanVS/pen/YrexLg?editors=0011
The text was updated successfully, but these errors were encountered: