Skip to content

[Bug]: Wrong calculation of the footer position on IOS in window mode #2712

Description

@MohamedGhassenElarbi

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS

What happened?

On IOS , specifically on window mode (Stage Manager) when the native IOS keyboard overlaps the app window the footer jumps
unnecessary leaving a huge gap of empty space between the keyboard and the footer and hiding parts of the interface
Here is the exact version of the library for reference :

  • "@gorhom/bottom-sheet": "^5.2.6",

  • "react-native-reanimated": "^4.2.1",

  • "react-native-gesture-handler": "^2.28.0",

Note: It is worth mentioning that the issue do not happen outside window mode on IOS and do not happen on android in window mode.

Image Image

Reproduction steps

  • you should be using the gorhom footer and have BottomSheetTextInput

  • you should be on IOS and in window mode (using an Ipad for ex)

  • you should make sure the window running your app is overlapping the native IOS keyboard

  • when the input is focused the native keyboard opens and the footer jumps upward

Reproduction sample

https://snack.expo.dev/@mohamed-ghassen-elarbi/bottom-sheet---issue-reproduction-template

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions