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

[v4] | [v2] The enableDynamicSizing feature does not recalculate when the size of the content changes. #1537

Closed
JCYDigitalinnov opened this issue Sep 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JCYDigitalinnov
Copy link

Bug

At first, enableDynamicSizing works as expected. However, when the content of the BottomSheetModal changes, it does not function properly. It does not re-calculate again for the height of the content.

In this context, when the user performs a search in the Flatlist, the number of items changes, and as a result, the height of the content also changes.

I used react-native-gesture-handler's Flatlist

Environment info

Library Version
@gorhom/bottom-sheet ^4.5.1
react-native 0.72.4
react-native-reanimated ^3.3.0
react-native-gesture-handler ^2.9.0

Steps To Reproduce

Describe what you expected to happen:

Reproducible sample code

@JCYDigitalinnov JCYDigitalinnov added the bug Something isn't working label Sep 19, 2023
@JCYDigitalinnov JCYDigitalinnov closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
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