picker
picker copied to clipboard
Exception in HostFunction: Loss of precision during arithmetic conversion: (long)
See this issue for more context: https://github.com/facebook/react-native/issues/47635
Get that error with the below settings:
@react-native-picker/picker: 2.11.1
React Native: 0.79.4
Expo: 53.0.13
Hermes: True
New Arch: True
I believe I found the issue, in itemStyle we were dynamically calculating font size. Added a Math.round(...) around it now. Should this be added at the library level instead?