This release introduces the new dynamic sizing api, allowing users measure their content and set the bottom sheet size accordingly. This feature works on static views and scrollables ( ScrollView, FlatList ... )
dynamic-sizing.mp4
Setting this prop to true, will result in adding a new snap point to the provided snap points and will be sorted accordingly, and this might effect the indexing, for example, if provided snap points are [100, 1000], and the content size is 500 then the final snap points will be [100, 500, 1000].
New Features
- added dynamic sizing (#1513)(with @Eli-Nathan & @ororsatti) (
7330c7c
)
Fixes
- updated snapPoint prop type (#1479)(by @nicolascavallin) (
0b1c8cc
)