Skip to content

[Bug] [Android]: Flickering backdrop when focus into BottomSheetTextInput and keyboard opens #2024

@mheddomagic

Description

@mheddomagic

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

Android

What happened?

On Android only:
I have a dynamic bottom sheet with a text input inside, and a backdrop set.
When focusing into the text input, the keyboard pops up and the backdrop flickers.

It's a little harder to reproduce on expo (although I have succeeded), but when using the android emulator, it's quite apparent.

Reproduction steps

  • Have a modal bottom sheet with dynamic sizing enabled. Also have a backdrop set.
  • Add a BottomSheetTextInput inside
  • Open the sheet in-app and press the BottomSheetTextInput to focus into it

Result -> The backdrop flickers.
Easy to reproduce again; Just blur out of the text input to lose focus and dismiss the keyboard, then try again

Here's how it's looking on the Android Emulator:

Screen_recording_20241104_150744.mp4

Reproduction sample

https://snack.expo.dev/@mheddomagic/f615a2

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions