question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Animated: `useNativeDriver` was not specified.

See original GitHub issue

Hello,

I get this when trying to use the library, what can I do?

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` at node_modules/react-native/Libraries/Animated/src/NativeAnimatedHelper.js:284:4 in shouldUseNativeDriver at node_modules/react-native/Libraries/Animated/src/animations/SpringAnimation.js:106:49 in constructor at node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:154:26 in start at node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:160:13 in start at node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:374:10 in animations.forEach$argument_0 at [native code]:null in forEach at node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:356:6 in result.start at http://192.168.0.139:19000/node_modules/expo/AppEntry.bundle?platform=android&dev=true&hot=false&minify=false:285147:22 in onPanResponderRelease at node_modules/react-native/Libraries/Interaction/PanResponder.js:572:12 in clearInteractionHandle at node_modules/react-native/Libraries/Interaction/PanResponder.js:490:30 in panHandlers.onResponderRelease at [native code]:null in forEach at [native code]:null in callFunctionReturnFlushedQueue

This is what I did, but didnt work.

<BottomSheet useNativeDriver={false} hasDraggableIcon ref={bottomSheet} height={600} />

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kcotiascommented, Nov 9, 2021

Hey guys, sorry for the delay, I was busy with work these months. I just merged a PR that solves this issue, will be releasing a new version of the package right now! Just update your pkg version and the warning should be gone 😃

0reactions
vj-abishekcommented, Nov 2, 2021

How to fix this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animated: `useNativeDriver` was not specified issue of ...
It gives a warning message: Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or ......
Read more >
`useNativeDriver` was not specified. This is a required 'option ...
warn: Animated: useNativeDriver was not specified. This is a required 'option and must be explicitly set to true or false.
Read more >
How to Fix Animated: `useNativeDriver` was not specified ...
1- First solution for Animation and Animatable As the warning says, we need to specify the useNativeDriver option explicitly and set it to...
Read more >
Animated: `useNativeDriver` was not specified issue of ...
Coding example for the question Animated: `useNativeDriver` was not specified issue of ReactNativeBase Input-Reactjs.
Read more >
Animated useNativeDriver was not specified This is a required ...
Contents in this project Animated useNativeDriver was not specified This is a required option React Native Error Solution: ... 1. Before getting ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found