haxiomic / firefox-multi-touch-zoom

Smoothly zoom in and out with the multi-touch pinch gesture
MIT License
153 stars 15 forks source link

micro-scrolling sideways (but only on some websites) #29

Open ideologysec opened 5 years ago

ideologysec commented 5 years ago

1) Pinch to zoom in 2) Scroll down

Some sites work, some sites don't work.

It seems to be website dependent, but some websites, when I try to slow scroll down (like I might a line or five at at time to read, as opposed to "grabbing and throwing" a big hunk of content), is the site also scrolls horizontally. This makes for a very unpleasant experience, but it's also not consistent, which is worse. Essentially, the page ends up scrolling diagonally.

A site that does work well for slow scrolling: https://bugzilla.mozilla.org/show_bug.cgi?id=688990 A site that doesn't work well GitHub (so, ie, this issues page).

Is this an extension issue, or a Firefox issue, or a website issue, or...?

haxiomic commented 5 years ago

Sorry for the slow response, thanks for the report @ideologysec!

I've investigated and I see what you mean – the bugzilla page locks the scroll direction whereas the github page it's free scrolling in so you have to be precise when scrolling down.

I'm not sure why there'd be a difference in behavior however! The scroll locking is handled by the browser rather than the addon but maybe it's possible to prevent firefox free scrolling. Needs some more investigation.