Version
Tell us which versions you are using:
- tcomb-form-native v0.6.20
- react-native v0.62.2
Expected behaviour
Clicking an enum picker should show a picker component for the user to choose.
Actual behaviour
Clicking a enum picker gives the message:
Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
This in iOS 14, and the picker doesn't show. I works for Android 28.
Steps to reproduce
Create a form with a field based on a t.enum, try to click in the resulting field.
Stack trace and console log
Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
* [native code]:null in __expoConsoleLog
- node_modules/react-native/Libraries/LogBox/LogBox.js:36:4 in console.warn
- node_modules/expo/build/environment/muteWarnings.fx.js:18:4 in warn
- node_modules/react-native/Libraries/Animated/src/NativeAnimatedHelper.js:281:4 in shouldUseNativeDriver
- node_modules/react-native/Libraries/Animated/src/animations/TimingAnimation.js:73:49 in constructor
- node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:210:26 in start
- node_modules/react-native/Libraries/Animated/src/AnimatedImplementation.js:217:13 in start
* http://REDACTED:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:475994:34 in _animatePicker
* [native code]:null in _animatePicker
* http://REDACTED:19001/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:476004:30 in <unknown>
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:7669:2 in callCallback
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:7710:18 in commitUpdateEffects
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:7698:21 in commitUpdateQueue
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:18213:25 in commitLifeCycles
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:21528:22 in commitLayoutEffects
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:286:4 in invokeGuardedCallbackImpl
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:497:2 in invokeGuardedCallback
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:21267:29 in commitRootImpl
* [native code]:null in commitRootImpl
- node_modules/scheduler/cjs/scheduler.development.js:818:23 in unstable_runWithPriority
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:21109:17 in commitRoot
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:20514:12 in finishSyncRender
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:20493:24 in performSyncWorkOnRoot
* [native code]:null in performSyncWorkOnRoot
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5703:31 in runWithPriority$argument_1
- node_modules/scheduler/cjs/scheduler.development.js:818:23 in unstable_runWithPriority
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5698:21 in flushSyncCallbackQueueImpl
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:5686:28 in flushSyncCallbackQueue
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:20575:28 in batchedUpdates$1
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2731:29 in batchedUpdates
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2834:16 in _receiveRootNodeIDEvent
- node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js:2911:27 in receiveTouches
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:425:19 in __callFunction
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:6 in __guard$argument_0
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:373:10 in __guard
- node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:111:4 in callFunctionReturnFlushedQueue
* [native code]:null in callFunctionReturnFlushedQueue
Version
Tell us which versions you are using:
Expected behaviour
Clicking an enum picker should show a picker component for the user to choose.
Actual behaviour
Clicking a enum picker gives the message:
This in iOS 14, and the picker doesn't show. I works for Android 28.
Steps to reproduce
Create a form with a field based on a t.enum, try to click in the resulting field.
Stack trace and console log