Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch [Reanimated] Tried to synchronously call a non-worklet function t1 on the UI thread #179

Open
ahmadbakhshi opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ahmadbakhshi
Copy link

ahmadbakhshi commented Jul 4, 2024

Describe the bug
Just by adding switch to my component (with and without controller). getting this error.
I'm not sure if it's related, but it happened after I removed primitives folder and moved to @rn-primitives

To Reproduce

<Switch checked={false} onCheckedChange={() => {}} />

Screenshots
simulator_screenshot_0A792474-3C51-43C9-8E10-E1E45C797966

Platform (please complete the following information):

  • OS: iOS
@ahmadbakhshi ahmadbakhshi added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant