Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoothscroll prevent swipe browser navigation #37

Open
dbdev opened this issue Apr 28, 2016 · 6 comments
Open

Smoothscroll prevent swipe browser navigation #37

dbdev opened this issue Apr 28, 2016 · 6 comments
Labels

Comments

@dbdev
Copy link

dbdev commented Apr 28, 2016

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
Copy link
Author

dbdev commented May 9, 2016

Someone … any update on this?

@gblazex
Copy link
Owner

gblazex commented May 12, 2016

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

@dbdev
Copy link
Author

dbdev commented Aug 23, 2016

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?

@gblazex gblazex added the bug label Nov 25, 2016
@firstrein
Copy link

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

@phucbm
Copy link

phucbm commented May 16, 2019

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

@designosis
Copy link

Has this issue been solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants