-
-
Notifications
You must be signed in to change notification settings - Fork 768
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
feat: added dynamic snap point based on content height (#32) #57
Conversation
It would be nice if this supported going from Similarly, if it goes from |
I looked at your PR. It uses Reanimated V1. Should dynamic snap later be ported to Reanimated V2 in this branch https://github.com/gorhom/react-native-bottom-sheet/tree/feature/rewrite-in-reanimated-v2? Could you clarify library roadmap? |
hi @likern , thanks for pointing this out. it become clearly that i need to set a roadmap for I look into planning it later and will put on the project board 👍 |
I think instead of fixed snapPoints and all complexity related to dynamic things it's better to allow user to provide I did similar in my https://github.com/likern/react-native-enhanced-popup-menu, where the final position on popup is determined at runtime, at moment when user clicked to show popup menu. User could provide It think we could do the same. And final snapPoint will be determined dynamically at time when bottomsheet is released. |
closes (#32)
Install
Todo
shouldMeasureContentHeight
istrue
.shouldMeasureContentHeight
.