@tnajdek for vertically centered modals, would it be possible to not only listen for clicks on the backdrop but also on the modal-centered element? Currently clicking above or below the centered modal does not close it (this is especially relevant on mobiles).
@tnajdek for vertically centered modals, would it be possible to not only listen for clicks on the backdrop but also on the
modal-centered
element? Currently clicking above or below the centered modal does not close it (this is especially relevant on mobiles).