how do u undo it via js ?
use case:
heres what happens currently (on mobile):
1. user sees expandable image
2. user click on image to expand it
3. users pinches to zoom on image
4. user closes the image - page is still zoomed, user must unzoom manually
I want it so the page gets unzoomed automatically when user closes the image, is this possible ?
Jump in the discussion.
No email address required.
Lazy way is to change the style to reset zoom in js as on an onclick/onTouch event on the background. More complicated is to implement your own CSS zoom on the image only. I'm on mobile now but I can come up with a small sample later when I have time
Jump in the discussion.
No email address required.
More options
Context