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

reanimated-bottom-sheet & react-native-reanimated #397

Open
lucaadev opened this issue Aug 22, 2023 · 4 comments
Open

reanimated-bottom-sheet & react-native-reanimated #397

lucaadev opened this issue Aug 22, 2023 · 4 comments

Comments

@lucaadev
Copy link

After updating my expo app to version 49, I also had to update react-native-reanimated to version 3.3.0. However, when trying to access the screen where my bottomSheet is, the following error appears:
TypeError: Cannot read property 'prototype' of undefined

This error is located at:
in BottomSheetBehavior (created by ModalAgendamento)
in RNGestureHandlerRootView (created by GestureHandlerRootView)
in GestureHandlerRootView (created by ModalAgendamento)
in ModalAgendamento (created by Home)
in Home (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by SceneView)
in RCTView (created by View)
in View (created by DebugContainer)
in DebugContainer (created by MaybeNestedStack)
in MaybeNestedStack (created by SceneView)
in RCTView (created by View)
in View (created by SceneView)
in RNSScreen
in Unknown (created by InnerScreen)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by InnerScreen)
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by ScreenStack)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RCTView (created by View)
in View (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator (created by Routes)
in Routes (created by App)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by App)
in ThemeProvider (created by PaperProvider)
in RCTView (created by View)
in View (created by Portal.Host)
in Portal.Host (created by PaperProvider)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by PaperProvider)
in PaperProvider (created by App)
in Provider (created by App)
in RCTView (created by View)
in View (created by App)
in App (created by withDevTools(App))
in withDevTools(App)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent), js engine: hermes

more precisely in this line in node_modules/reanimated-bottom-sheet/lib/module/index.js:
_defineProperty(this, "tapState", new Value(0));
@Frontend-dev-sarah
Copy link

I got the same problem after updating to expo 49, any news ?

@Frontend-dev-sarah
Copy link

I got the same problem after updating to expo 49, any news ?

I end up with using another lib: https://gorhom.github.io/react-native-bottom-sheet, which works for me.

@yousss
Copy link

yousss commented Dec 18, 2023

i also has faced the same issue till now.

@akouaouchissam
Copy link

Did you guys find any solution for this beside changing the library ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants