Closed shanmugamani96 closed 2 years ago
You can close the popup with the key Q
.
You can't close the popup with clicking the outside because photoviewer
is inspired by Windows Photo Viewer and very different from other lightbox.
how to change that key Q into esc,
I am sorry that it doesn't support customize the key now.
hey, I changed the keycode 27 for close so it's working now, but I need one option,I need to close the modal when clicking outside ,kindly add it,
In fact, you can use any other popup library and embed the photoviewer into it. Bootstrap modal example: https://codepen.io/nzbin/pen/rNdwOwy
How to close the photo viewer popup when clicking the ESC button and clicking the outside popup?