Open SharonCKC opened 4 months ago
On clicking outside of the Combox
area, trigger.onBlur
is called. The following webtools snapshot shows onBlur
being called on a click outside of the Combox
.
On resize and scroll, trigger.onBlur
is not called, and the appropriate methods to close the ListBox are not called.
This is a new feature request, the library should support that.
Thank you for looking into it. From our perspective it is a bug rather than a new feature, because we migrated from Fluent 1 which did not have the issues we are observing with Fluent 2.
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
https://codesandbox.io/p/sandbox/old-dawn-vt3wjt?file=%2Fexample.tsx
Bug Description
Actual Behavior
When dragging the scrollbar, or dragging the resize handle, of an element containing a dropdown, combobox, or popover, the listbox/PopoverSurface doesn't close, causing the listbox or PopoverSurface to appear outside of the container.
Expected Behavior
It should close as soon as the user clicks or drags anywhere outside of the component.
Logs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations