Prevent modal closing on ESC keypress?

Is there any way to prevent an open modal closing on keypress of "ESC", or any kind of intercepting of keypresses in general?

I was hoping to use editable text components inside of a modal. However, they use the "ENTER" key to apply changes, and the "ESC" key to cancel changes....the former keypress conflicts with any containing form and the latter with the containing modal.

Hey, @evanatonecare We have gone ahead and created a feature request for this and will update this post if there are any changes. Thank you for the suggestion!

2 Likes