-
-
Notifications
You must be signed in to change notification settings - Fork 340
wrap component with createAnimatedComponent #540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
🤖 Hey there @francescovenica! 😄 Long time no see in the issue tracker! How have you been? The error you're encountering is due to the fact that the Carousel component in the The If you need to animate the Carousel component or respond to its gestures in a specific way, you should do so within the Carousel component itself or by using the Carousel's props and methods. For example, you can use the You can refer to the Carousel component source code for more details. If you need further assistance or if there's something specific you're trying to achieve with the Carousel component, please provide more details so I can assist you better. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
would I be able to animate the height & width of the carousel using a sharedValue? |
Hi, @francescovenica. I'm Dosu, and I'm helping the react-native-reanimated-carousel team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
Hello
I'm trying to dynamically change the width & height of the component, in order to do so I'm wrapping the carousel in the
Animated.createAnimatedComponent
the issue with this is that once I wrap it I get this error:
Expected behavior
No error thrown
Versions (please complete the following information):
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native-reanimated": "~3.3.0",
"react-native-reanimated-carousel": "3.5.1",
"react-native": "0.72.6",
"react-native-gesture-handler": "~2.12.0",
The text was updated successfully, but these errors were encountered: