fat / zoom.js

Medium's Image Zoom for jQuery
https://fat.github.io/zoom.js
MIT License
4.04k stars 332 forks source link

If you click on the image and then resize the window you are ending up in a "bad" state. #8

Closed lipis closed 9 years ago

lipis commented 9 years ago

I think it would be better to reposition/resize the image on every resize of the window if it's in a zoomed state.

screen shot 2015-05-07 at 08 42 34 screen shot 2015-05-07 at 08 42 08

fat commented 9 years ago

hm maybe – i'm not too worried about that. People don't tend to resize their windows in the middle of a browsing session.

if it's really bothering you though, happy to review a pr