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

Scrolling on demo doesn't appear to work on iPhone #62

Open
axelson opened this issue Mar 16, 2016 · 9 comments
Open

Scrolling on demo doesn't appear to work on iPhone #62

axelson opened this issue Mar 16, 2016 · 9 comments

Comments

@axelson
Copy link

axelson commented Mar 16, 2016

Tested on a iPhone 6 plus with Chrome and Safari and an iPhone 5 with Chrome. Able to click on the "test 2" or "test 3" (etc) links but page doesn't scroll.

@fisshy
Copy link
Owner

fisshy commented Mar 17, 2016

Ah, should probably make a fallback. I'm not sure how animating scroll works on mobile phones. Will test this myself tonight.

@xzilja
Copy link

xzilja commented May 26, 2016

+1 any estimate for the fix on this issue? Otherwise seems to be a great plugin, thanks :)

@pmchung
Copy link

pmchung commented Jun 5, 2016

Apparently onClick is not recognized on iOS if it doesnt have any additional indicator. Adding cursor: pointer to the links by inline style or any other method fixed the scrolling issue for me on Safari iOS 9

facebook/react#134

@fisshy
Copy link
Owner

fisshy commented Jun 5, 2016

Thanks for the tips, I will look into it, unless you want to make a PR :)

@PTaylour
Copy link

PTaylour commented Apr 22, 2017

@fisshy did you end up taking a look at this?

For me, toScroll('foo', { smooth: false }) is working across platforms, but toScroll('foo', { smooth: true }) is not working on at all on android chrome (emulated and real) or iPhone chrome (emulated)

It doesn't seem to be an onClick issue for me, so maybe this is unrelated.

I'm probably a duplicate of #177

@bcotrim
Copy link

bcotrim commented May 18, 2017

@fisshy is there any fix/workaround for this at the moment?

I'm also experiencing the same behaviour as described: { smooth: false } works but { smooth: true } does not.

@fisshy
Copy link
Owner

fisshy commented May 19, 2017

Animating scroll on an iPhone does not work if you do anything else since the UI/Background runs on the same thread, correct me if I'm wrong. Thats why { smooth : false } works wich does not animate the scrolling.

@Inoir
Copy link

Inoir commented Aug 30, 2017

Issue still there :(
I've seen there is an own implementation of "scroll".
Maybe switch to scroll-to?

Would fix the mobile issue AND it would be possible to scroll also horizontal!
Would be amazing...

@fmturati
Copy link

Hello guys, any update about this issue?

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

No branches or pull requests

8 participants