Closed robertherber closed 1 year ago
Interesting! I'll look into this.
Looks like this would be possible for iOS too. The only place it wouldn't work is Android, due to https://github.com/react-native-menu/menu/issues/305.
I'm probably fine with adding the prop if 2/3 platforms support it. And we can mention it in the docs.
Interesting! I'll look into this.
Awesome! Thanks for this great library that just keeps getting better 👍
Published in 0.5.0
#10
I guess this might be hard to support cross-platform, but it would be great if it's possible. Radix has a onOpenChange callback that makes it possible to know whether a DropdownMenu is open or not. I'm thinking it might be worth to add it even if it's not possible cross-platform (should of course be made clear through JSDoc etc in that case)?
My specific use-case: I needed this to be able to disable key listeners on web, so escape can work as expected
This issue body was partially generated by patch-package.