Skip to content

[Bug]: enableDynamicSizing not working with footerComponent and BottomSheetScrollView with enableFooterMarginAdjustment true #1995

@Brma1048

Description

@Brma1048

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS, Android

What happened?

The dynamic sizing does not work correctly when the content is smaller than the footer component. The content is behind the footerComponent and gets not bumped up with enableFooterMarginAdjustment from the BottomSheetScrollView.
When i add a minHeight to my content thats bigger than the height of the footer it works, but when not the content is behind the sticky footer.

Reproduction steps

  • Add a BottomSheetModal
  • Set enableDynamicSizing to true
  • Add a footerComponent with
  • Add as child with enableFooterMarginAdjustment
  • Add some as child of the (needs to be smaller than the footerComponent)

Reproduction sample

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions