Replies: 1 comment
-
@gamellis thank you for the support 🙌 ! Is your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @jacobsfletch,
Thanks for fixing that escape key bug last year. 😄 Here's my setup for controlling the modal.
I've got a
handleDismissModal
to close the modal with an extramyFunction()
When the escape key is pressed, my
handleDismissModal
function isn't used (of course). I read through the modal source code and couldn't figure out how to access the key press event to pass in a function.I guess I am missing something about how the modal component "should be" used.
Thanks for all your help!
Beta Was this translation helpful? Give feedback.
All reactions