Giter Club home page Giter Club logo

Comments (9)

PTaylour avatar PTaylour commented on June 23, 2024 1

@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

from react-scroll.

fisshy avatar fisshy commented on June 23, 2024

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

from react-scroll.

xzilja avatar xzilja commented on June 23, 2024

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

from react-scroll.

pmchung avatar pmchung commented on June 23, 2024

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

from react-scroll.

fisshy avatar fisshy commented on June 23, 2024

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

from react-scroll.

bcotrim avatar bcotrim commented on June 23, 2024

@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.

from react-scroll.

fisshy avatar fisshy commented on June 23, 2024

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.

from react-scroll.

Inoir avatar Inoir commented on June 23, 2024

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...

from react-scroll.

fmturati avatar fmturati commented on June 23, 2024

Hello guys, any update about this issue?

from react-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.