[ScrollView] add onPageChange for scrollView with pagingEnabled=true.
See original GitHub issue
Top Results From Across the Web
Is there any way to make a paged ScrollView in SwiftUI?
To simplify Lorenzos answer, you can basically add UIScrollView.appearance().isPagingEnabled = true to your scrollview ...
Read more >pagingEnabled | Apple Developer Documentation
A Boolean value that determines whether paging is enabled for the scroll view.
Read more >react-native-paged-scroll-view - npm
I assume you'll use it with pagingEnabled={true} , and it doesn't add paged scrolling for Android. Example. PagedScrollViewExample. import { ...
Read more >ScrollView - React Native
When true, the scroll view bounces horizontally when it reaches the end even if the content is smaller than the scroll view itself....
Read more >What is the use of ScrollView component in React Native
pagingEnabled : If the value is set to true then the scroll view stops scrolling. This can be used for horizontal pagination.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ide onMomentumScrollEnd is working. Sharing the code for anyone looking for it. Small core api is what i support so closing this for now.
We should def. document this function though.
@ide I agree with @vjeux. It is annoying to compute right now. Also, i guess you are talking about
onMomentumScrollEnd
or something. I couldn’t get that working.onPageChanged
makes sense also for anyone with pagingEnabled.I will go ahead and try to make a PR then.