Animated.event now requires a second argument for options
See original GitHub issueIssue Description
When We need to display a message with an image, the app shows a warning about the issue.
Animated.event now requires a second argument for options
I guess, react-native-gifted-chat
uses this react-native-lightbox
lib. Now UseNativeDriver is a required prop for Animated
Unfortunately, the original library seems to be out of maintenance.
Steps to Reproduce / Code Snippets
Additional Information
- Nodejs version: v13.5.0
- React version: 16.13.1
- React Native version: 0.63.2
- react-native-gifted-chat version: 0.16.3
- Platform(s) (iOS, Android, or both?): Both
- TypeScript version: 3.8.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:28
- Comments:16
Top Results From Across the Web
React Native Error: "Animated.event now requires a second ...
Animated.event now requires a second argument for options; config.onPanResponderMove is not a function. List item.
Read more >Animated.event now requires a second argument for options
This is a required option and must be explicitly set to `true` or `false` ... Animated.event now requires a second argument for options...
Read more >React Native Error: “Animated.event now requires a second ...
Animated.event now requires a second argument for options - node_modules/react-native/Libraries/LogBox/LogBox.js:117:10 in registerWarning ...
Read more >React Native Error: "Animated.event now requires a second ...
Coding example for the question React Native Error: "Animated.event now requires a second argument for options"-React Native.
Read more >Animated.event now requires a second argument for options
When We need to display a message with an image, the app shows a warning about the issue. Animated.event now requires a second...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi guys and @FaridSafi, i worked this around. I implemented my own component, i used this package
react-native-image-modal
and the component look like this.
hope this would be helpful.
Hey guys to solve this issue you just need to replace react-native-lightbox with react-native-lightbox-v2 in the MessageImage.js file in node_modules/ react-native-gifted-chat /lib/MessageImage.js file Note first install react-native-lightbox-v2