2 ms·
Off Topic: that site is doing something I've seen on a lot of sites: not correctly taking into account that menu banner overlay on the top when the user hits sp
by tzs 10y ago
Off Topic: that site is doing something I've seen on a lot of sites: not correctly taking into account that menu banner overlay on the top when the user hits space to scroll a page.
On Firefox it works correctly. The page scrolls up just enough to make what had been the bottom visible line become the top visible line.
On Chrome and Safari it scrolls a few lines too far. If I go in to the inspector and delete that menu overlay it is then clear that it scrolled the amount that would have been correct had the menu overlay not been there.
As I said I see this quite a bit around the web. I'm curious why. Is there a bug in calculating the size of the visible region in Webkit browsers in the presence of overlays? Are the sites using some non-standard CSS that is only supported in Firefox? Is this one of those things that you just have to have separate code for different browsers and these sites didn't realize that and only tested with Firefox so didn't realize they weren't done yet?
- return0 10y agoI see that all the time too. It's extremely frustrating , but i think the solution is that browsers should implement some sort of visual indication of where the bottom of the screen moves.