Open sem4phor opened 8 months ago
I just figured out that i can workaround on the popover by:
<PopoverBackdrop />
componentpointerEvents: 'box-none'
on the <Popover />
componentWithout the backdrop the popover will not close which can be worked around by using click outside packages ( useClickAway
from @uidotdev/usehooks
on web and react-native-click-outside
for native.
For the menu all of that does not work...
The backdrop makes any other UI element unclickable as long as the Menu is opened. This is not a good UX as users then need two clicks instead of one to interact with any other UI element.
Other UI libraries do not implement Menus like this, so please consider this Feature Request...
Description
The popover and menu highly rely on the backdrop to dismiss themselves. This makes it hard to just click a button somewhere else because i have to dismiss the menu first. It would be great to have the option to just make it close while propagating the clicks to whatever elemnt outside the menu is clicked.
Problem Statement
User Story:
Proposed Solution or API
Alternatives
No response
Additional Information
No response