picker icon indicating copy to clipboard operation
picker copied to clipboard

Exception in HostFunction: Loss of precision during arithmetic conversion: (long)

Open enchorb opened this issue 8 months ago • 1 comments

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

enchorb avatar Jul 01 '25 13:07 enchorb

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?

enchorb avatar Jul 01 '25 13:07 enchorb