KnightRobby / hoverzoom

Automatically exported from code.google.com/p/hoverzoom
0 stars 1 forks source link

Images stuck to top of window #679

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem description: Recently Hover Zoom images have started becoming stuck to 
the top of the window. So if I'm on say Reddit I can view all the images on the 
screen, however once I start scrolling down the images I hover over will appear 
up at the top of the page, meaning once I've scrolled down past the bottom of 
the 'fold' I can no longer see the images.

URL (web address) where the problem occurs: Any website, primarily noticed on 
Reddit & Google Image Search

Hover Zoom version: 4.29
Google Chrome version: 33.0.1750.29 beta-m
Operating system: W7

Original issue reported on code.google.com by PFreeman...@gmail.com on 20 Jan 2014 at 4:11

GoogleCodeExporter commented 9 years ago
I'm having the same issue. I've tried in incognito with only hoverzoom set to 
work in incognito and I had the same problem

Hoverzoom version 4.3
Chrome:  33.0.1750.117 m
OS: W8.1

Original comment by dustinpk...@gmail.com on 24 Feb 2014 at 2:30

GoogleCodeExporter commented 9 years ago
Also have the same problem. Cleared cache, disabled all other addons - Not sure 
what else I can do on my end. 

I think the problem is coming from this line: 
wndScrollTop = document.body.scrollTop

Why not try

wndScrollTop =  (document.documentElement && 
document.documentElement.scrollTop) || 
              document.body.scrollTop;

Which appears to work on my browser.

Original comment by amoli...@gmail.com on 27 Feb 2014 at 7:12

GoogleCodeExporter commented 9 years ago
body.scrollTop and body.scrollLeft have been deprecated indeed. I'll update my 
code, thanks for the report. This will be fixed in the next version.

Original comment by romain.v...@gmail.com on 28 Feb 2014 at 9:06

GoogleCodeExporter commented 9 years ago
Thank you so much!!! Life has been hard these past few days. I love the project 
and anytime I'm using a friend's computer and they have Chrome I force them to 
install the extension (and change their settings from 0.1/0.2 to 0.0/0.1). I'm 
so happy that the response was so rapid and our voices were heard. Keep up the 
great work!

Original comment by dustinpk...@gmail.com on 28 Feb 2014 at 9:49