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
Should use the provided ScrollView/FlatList component
Actual Behavior
Warning: Failed prop type: Invalid prop useScrollView supplied to Carousel.
Reproducible Demo
(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)
Steps to Reproduce
(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)
Create a Carousel component as usual
Import ScrollView from react-native-gesture-handler
Is this a bug report, a feature request, or a question?
Bug report
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an
x
character between the square brackets ([]
).)Have you made sure that it wasn't a React Native bug?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Happens on both platforms
Is the bug reproductible in a production environment (not a debug one)?
Yes
Environment
Environment:
React: 16.9.0
React native: 0.62.2
react-native-snap-carousel: 3.9.1
Target Platform:
Android (10)
iOS (13.5)
Expected Behavior
Should use the provided ScrollView/FlatList component
Actual Behavior
Warning: Failed prop type: Invalid prop
useScrollView
supplied toCarousel
.Reproducible Demo
(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)
Steps to Reproduce
(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)
const AnimatedScrollView = Animated.createAnimatedComponent(ScrollView);
AnimatedScrollView
component touseScrollView
prop as described in the docs<Carousel useScrollView={AnimatedScrollView}
The text was updated successfully, but these errors were encountered: