Skip to content

[Question] Scrolling two flash lists synchronously? #650

Answered by vinaybedre
vinaybedre asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to achieve by doing something like this.

<FlashList horizontal={true} ref={horizontalRef} ...otherProps />

<FlashList onScroll={(event)=>horizontalRef.current.scrollToOffset({animated: false, offset: event.nativeEvent.contentOffset.y})} ...otherProps />

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vinaybedre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant