brtnshrdr / angular2-image-zoom

An Angular2 Image Zoom Directive
MIT License
22 stars 16 forks source link

Lens on image does not work after browser scrollbar move #11

Open akshayefusion opened 7 years ago

akshayefusion commented 7 years ago

Hi, Like we hover on image than a lens appears on the image that moves when you move the mouse that works perfectly but if you scroll the browser to the bottom side (take a little height from top) then you again hover the image, the lens does not move with the mouse move. Please try this case :

  1. create a scrollable page
  2. Add an image that is visible without scroll the mouse i.e. image is visible without scroll the browser scrollbar, now try the image hover: that will work perfectly
  3. Now take a little bit bottom, you will check scrollbar will have 100-200pz from margin from top: now image hover lens will not work.
valterh4ck3r commented 6 years ago

Same problem.

valterh4ck3r commented 6 years ago

My suggestion : open image in modal bootstrap... There works fine.

sushan05 commented 6 years ago

I too have faced this issue but it's some-what different. When the page is scrolled down a bit and image is partially visible and hovering on the image make the lens freeze.

iamprathamesh commented 5 years ago

Same Issue. can anyone help please. If page is scrolled the image changes its position. is there any way to stop auto positioning.