-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
BugComponent: ScrollViewResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
When I try to render a list of ScollView components I am trying to programmatically scroll using either onContentSizeChange or useEffect nothing happens. According to documentation, it should work.
React Native version:
System:
Binaries:
Node: 10.15.3 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
Steps To Reproduce
- Swipe Hero list to left
- Swipe up Hero list
Expected to happen:
I expect the hero ScrollView to be scrolled and aligned to tiny images
scrollTo in useEffect method should run correctly
useEffect(() => {
scrollView.current.scrollTo({ x: state.big})
},[state.heroIndex]);
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/r1L24RFsB
Metadata
Metadata
Assignees
Labels
BugComponent: ScrollViewResolution: LockedThis issue was locked by the bot.This issue was locked by the bot.

