Created
February 26, 2020 19:49
-
-
Save ajsmth/662a8b6c4899057e07df91dcb3def3e9 to your computer and use it in GitHub Desktop.
Setting the scrollview offset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Animated.ScrollView | |
contentOffset={{y: SEARCH_PLAYLISTS_HEIGHT}} | |
onScroll={handleScroll} | |
style={{flex: 1}}> | |
{...} | |
</Animated.ScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment