Skip to content

Height not restored to initial when keyboard closes in Android #538

@LechLee

Description

@LechLee

I hope you're doing well! I’ve encountered an issue related to view height adjustment in the Android application when interacting with the keyboard.

Description:
In the Android application, when the keyboard is dismissed after being opened (e.g., while typing in an input field), the view height is not restored to its original state. This causes layout inconsistencies and can result in parts of the UI being inaccessible or improperly aligned.

Steps to Reproduce:
Launch the app on an Android device.
Navigate to a screen with an input field.
Tap on the input field to bring up the keyboard.
Close the keyboard by tapping the back button or clicking outside the input field.

I manage to debug the issue under the onVisualViewportChange on index.tsx

it seems like drawerRef.current.style.bottom is not deleted / restore back to original when the keyboard closes.

As attached is the video recording.

recording.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions