You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And if the document is rendered inside Modal, hitting Escape when my inline editor is open, also closes the modal, even though I do e.preventDefault() and e.stopPropagation()
recording.webm
Is there any way to prevent the Escape key from closing the Modal?
I am using PayloadCMS 3.5.0, which uses this component under the hood. I have an inline editor, which can be closed by pressing
EscapekeyAnd if the document is rendered inside
Modal, hittingEscapewhen my inline editor is open, also closes the modal, even though I doe.preventDefault()ande.stopPropagation()recording.webm
Is there any way to prevent the Escape key from closing the
Modal?