Hello! In my application I use "Escape" key to close modal windows.
But when image's preview popup is opened in my modal I want to close the popup first and after second "Escape" press close the modal.
I can't implement this as I didn't found any events to find out is image's popup is shown. Also there is no API to close the popup.
It would be very nice if that API will appear.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Existing Component
Yes
Component Name
image
Description
Hello! In my application I use "Escape" key to close modal windows. But when image's preview popup is opened in my modal I want to close the popup first and after second "Escape" press close the modal. I can't implement this as I didn't found any events to find out is image's popup is shown. Also there is no API to close the popup. It would be very nice if that API will appear.