Replies: 1 comment
-
I got things working by rearranging the elements, placing an Animated View outside the Gesture Detector. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I attempted to create an animated version of SectionList:
const AnimatedSectionList = Animated.createAnimatedComponent(SectionList<IBaseList, iDisplaySectionData>);
However, neither the native scroll event nor the pan Gesture are triggered any longer. Do I need to so something on the instantiation to make the events available?
Fyi, my code seems to work with the built0in Animated FlatList:
`const panGesture = Gesture.Pan()
const scrollGesture = Gesture.Native();
<GestureDetector gesture={Gesture.Simultaneous(panGesture, scrollGesture)}>
<Animated.FlatList>
...`
Thanks,
Tony
Beta Was this translation helpful? Give feedback.
All reactions