smoothscroll-for-websites icon indicating copy to clipboard operation
smoothscroll-for-websites copied to clipboard

Smoothscroll prevent swipe browser navigation

Open dbdev opened this issue 9 years ago • 8 comments

Hi,

have someone never noticed if the smoothscroll is preventing the browser swipe navigation gesture to work? When I deactivate the smoothscroll the swipe navigation gesture works all the time, when active it's very difficult to get it to work.

Thanks for an answer

dbdev avatar Apr 28 '16 15:04 dbdev

Someone … any update on this?

dbdev avatar May 09 '16 14:05 dbdev

This is known, but have no time to look into this right now. PRs are welcome

gblazex avatar May 12 '16 02:05 gblazex

Hi again,

I've now been trying to fix it myself and I come out with this solution. I've replaced this

scrollArray(overflowing, deltaX, deltaX); event.preventDefault(); scheduleClearCache();

with this

scrollArray(overflowing, deltaX, deltaY); if (Math.abs(deltaX) > 10) { if (deltaX > 0) window.history.forward() else window.history.back() } else event.preventDefault(); scheduleClearCache();

inside the function wheel(event). Could you please just test it?

dbdev avatar Aug 23 '16 12:08 dbdev

Hi, I have a problem. On my website, there is an error with the smooth scroll file. And it is observed in the google console. This happens every time you slide across the screen. I have no knowledge in programming but my intuition tells me to get to a correct link. Can somebody help me. Thank you Screen Shot 2019-05-15 at 13 52 58

firstrein avatar May 15 '19 21:05 firstrein

Hi @firstrein, The update v1.4.9 has solved your problem. You can get it from cndjs https://cdnjs.com/libraries/smoothscroll

phucbm avatar May 16 '19 00:05 phucbm

Has this issue been solved?

designosis avatar May 23 '20 17:05 designosis