Closed szaboat closed 3 years ago
I'm not 100% sure about handing it natively in the app, but idea that comes to mind is adding the ability to programmatically dismiss the modal (which has been requested before), so then you could wire that into a key handler for web.
:tada: This issue has been resolved in version 3.13.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hi,
I was looking for a way to close the action sheet on a web application when hitting
escape
. It seems as a standard interaction for me that modals / popovers are dismissable on hitting theESC
key. I haven't seen this feature in the library also I could not found a way to implement it with the current API.What's your opinion about the feature? I'm happy to send a PR if maintainers find it valuable.
Thanks!