You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TBD…but this needs a rewrite using function components and hooks.
Reacted by Richard Lindhout, Relign, Shiny Lee, Mitchell Harding, Hampus Sjöberg, Uysim, Gilles StCyr, Wes Roberts, Arnaud, Ravi and 18 more
Reacted by Richard Lindhout, Relign, Mitchell Harding, Xavier Requillart, Fernando Rojo, Mohammad Rajabifard, reyn-nova, Daniel Steigerwald and Henry S
Hey @jkoutavas, I never picked this up since @necolas had self-assigned this issue. @necolas I would be happy to help if you're looking for contributions.
The component need converting to a functional component and the scroll responder needs to be integrated in an entirely different way (see RN code). The functional component rewrite is currently in progress for RN and can act as a reference point once it lands in the OSS repo
Is it expected that ScrollView's listeners (onMomentumScrollEnd, onScrollEndDrag) don't work for Web?
They just happen during the initial render, or if the content size changes, but they don't seem to listen to actual user drag or scroll events.
Activity
V1shvesh commentedon Oct 9, 2020
Hey @necolas! Can I pick this issue up?
jkoutavas commentedon Jan 25, 2021
How's this effort going, and what does it mean when this gets done?
V1shvesh commentedon Mar 1, 2021
Hey @jkoutavas, I never picked this up since @necolas had self-assigned this issue. @necolas I would be happy to help if you're looking for contributions.
chris-aeviator commentedon Mar 12, 2021
@V1shvesh I think you should just go and provide a merge-request for @necolas
chris-aeviator commentedon Mar 25, 2021
@necolas could you point out which parts in your initial idea would be modified, I'll happily contribute if it looks doable to me.
necolas commentedon Mar 25, 2021
The component need converting to a functional component and the scroll responder needs to be integrated in an entirely different way (see RN code). The functional component rewrite is currently in progress for RN and can act as a reference point once it lands in the OSS repo
chris-aeviator commentedon Mar 25, 2021
@necolas thanks for the quick response - for understanding better the issue, why is e.g. the scrollview in the demo perfectly scrollable?
necolas commentedon Mar 25, 2021
Were you expecting it not to work!? This task is to change the implementation details of the component
chris-aeviator commentedon Mar 25, 2021
Seems like a bit of a misunderstanding - I indeed have a non-scrolling ScrollView in an react-native (expo) app when compiling to web 😀
nandorojo commentedon Aug 26, 2021
@chris-aeviator this is likely due to not having a
Viewwrapping yourScrollViewwith a fixed height.If you have issues scrolling, pass
style={{ flex: 1 }}orstyle={StyleSheet.absoluteFill}to aViewthat wraps yourScrollView.camello222 commentedon Mar 29, 2022
Is it expected that ScrollView's listeners (onMomentumScrollEnd, onScrollEndDrag) don't work for Web?
They just happen during the initial render, or if the content size changes, but they don't seem to listen to actual user drag or scroll events.