gorhom / react-native-bottom-sheet

A performant interactive bottom sheet with fully configurable options 🚀
https://gorhom.dev/react-native-bottom-sheet/
MIT License
7.08k stars 777 forks source link

[Bug]: Maximum call stack exceeded when exporting a UI library component that contains bottom sheet import #2027

Closed frankoprifti closed 2 weeks ago

frankoprifti commented 2 weeks ago

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS, Android

What happened?

I have a Storybook component library where I created a Bottom Sheet component. When I export this component from a different export file where I'm exporting every other component I get the ` ERROR Warning: RangeError: Maximum call stack size exceeded

This error is located at: in App (created by withDevTools(App))`

It happens as soon as I introduce this library import. Even with a clean component that does nothing as soon as I import this it crashes with that error

Reproduction steps

Reproduction sample

I cant do this

Relevant log output

No response

github-actions[bot] commented 2 weeks ago

Hello @frankoprifti :wave:, this issue is being automatically closed and locked because it does not follow the issue template.