-
-
Notifications
You must be signed in to change notification settings - Fork 784
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
[Bug]: Error for not having flashlist even when not using the flashlist component #1968
Comments
Same issue here |
this should be resolved with v5.0.2. feel free to re-open |
Hi, I still face the same issue on v5.0.2, i need it for the dynamic sizing bit. |
@sleekLancelot I recommend double checking you have got the right version (check lockfile) and clearing the cache because it should only throw the error now if you use the flashlist scrollable. |
Had to delete it, reinstall and rebuild again. For some reason it works now. |
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
iOS, Android, Web
What happened?
When using version 5 without flashlist installed this error causes the app to crash
You need to install FlashList first,yarn install @shopify/flash-list, js engine: hermes
Since the files are all barrel files every file will run even if you don't import them so this would only be fixed by
removing the export from:
src/components/bottomSheetScrollable/index.ts and here src/index.ts
Reproduction steps
Reproduction sample
https://snack.expo.dev/@dannyhw/bottom-sheet---issue-reproduction-template
Relevant log output
You need to install FlashList first, `yarn install @shopify/flash-list` Evaluating @gorhom/bottom-sheet.js Evaluating App.js Loading App.js
The text was updated successfully, but these errors were encountered: