react-native-floating-label-input icon indicating copy to clipboard operation
react-native-floating-label-input copied to clipboard

Tried to synchronously call anonymous function from a different threat

Open baranngungor opened this issue 3 years ago • 1 comments

I can import and see the Floating Label Input but I faced error that say:

Occurred in workout location: node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts(492:18)

Possible solutions are: a)If you want to synchronously execute this method, mark it as a Worklet b)If you want to execute this method on the JS thread, wrap it using runOnJS

How can I fix that? What should I do?

baranngungor avatar Jul 06 '22 13:07 baranngungor

+1

asfandyarsheikh avatar Jul 09 '22 00:07 asfandyarsheikh

Hi @baranngungor, did you install the reanimated lib at v2?

Cnilton avatar Oct 26 '22 23:10 Cnilton