React-native-web: Is there a recommended way to do smooth scrolling?

Created on 8 Aug 2017  路  5Comments  路  Source: necolas/react-native-web

@necolas: Do you have a recommended way to do animated smooth scrolling?

Most helpful comment

I have a local branch to add "native" web smooth scrolling in supporting browsers. Hoping to land it soon

All 5 comments

I've been using smoothscroll. Nothing fancy, but it works well. You can pass a number as the parameter also, not only an element. This is not react-native-web specific, it should work anywhere.

https://www.npmjs.com/package/smoothscroll

Just curious if this could be closed? I'm not an admin or anything, but fewer open issues is always better. Do you know how React Native deals with smooth scrolling?

I have a local branch to add "native" web smooth scrolling in supporting browsers. Hoping to land it soon

Nice! Smooth scrolling is def a better user experience, since you can literally see what's happening. Just curious, what's a similar experience in React Native? Maybe tapping a Table of Contents item in a document app?

ScrollableView's has the default option animated: true for scrollTo(), but it doesn't do anything. Is this because it's also waiting for the smooth scrolling to be implemented?

Was this page helpful?
0 / 5 - 0 ratings