Skip to content

[Bug]: maxDynamicContentSize not enforced on keyboard open #2638

Description

@gkueny

Version

v5

Platforms

iOS

What happened?

For a modal with dynamicSizing enabled (enableDynamicSizing). When we focus an input in the modal, it will not respect given maxDynamicContentSize.

Reproduction steps

  • setup aBottomSheet with some BottomSheetTextInput
  • set BottomSheet enableDynamicSizing props to true
  • set a maxDynamicContentSize
  • set keyboardBehavior to interactive
  • focus Input

On Focus, keyboard will appear and BottomSheet modal might exceed given maxDynamicContentSize

Here is a video of the reproduction where I set maxDynamicContentSize to avoid modal to prevent from slipping under the phone's top edge

ScreenRecording_03-24-2026.17-20-26_1.MP4

Reproduction sample

https://snack.expo.dev/@gkuenyme/bottomsheet-reproduction---maxdynamiccontentsize-not-enforced-on-keyboard-open

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions