Tried to synchronously call function {snapPoint} from a different thread #2164
Unanswered
khanhduy62
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody
I'm the new one who want to learn reanimated. When i try to run codes i got an error
This code works correctly. But when I try to replace
clamp: [0, SCREEN_WIDTH - BOX_SIZE]
toclamp: snapPoint(x.value, evt.velocityX, [0, SCREEN_WIDTH - BOX_SIZE])
and then it throws an error "tried to synchoronously call function"please help me
Beta Was this translation helpful? Give feedback.
All reactions