You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hexadecy
changed the title
Drawer doesn't open on the Web, useLegacyImplementation logic was changed since drawer 6.3.2
__reanimatedWorkletInit is not a function, useLegacyImplementation logic was changed since drawer 6.3.2
Nov 26, 2022
hexadecy
changed the title
__reanimatedWorkletInit is not a function, useLegacyImplementation logic was changed since drawer 6.3.2
Web: __reanimatedWorkletInit is not a function, useLegacyImplementation logic was changed since drawer 6.3.2
Nov 26, 2022
For anyone else stumbling upon this issue: This bug seems to have been fixed since at least "@react-navigation/drawer": "6.6.7" (or probably earlier; haven't tested the other versions). So just update to a later version, and you should be fine.
Current behavior
Error: __reanimatedWorkletInit is not a function with expo.
Non-expo:
Drawer doesn't open on the Web since drawer 6.3.2 because of this fix
Affect drawer v6.3.2 to v6.5.1+
Expected behavior
The drawer should open on the Web
Workaround
Force for the web:
useLegacyImplementation={true}
or add at the top of the App.js file:
global.__reanimatedWorkletInit = () => {};
Reproduction
https://snack.expo.dev/@mcouillard/react-navigation-11034
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: