Skip to content

Android: the keyboard no longer avoids the input fields after navigating back from GiftedChat screen #2631

@MD-Nguyenn

Description

@MD-Nguyenn

Hi, I'm encountering an issue: after returning from the GiftedChat screen, the keyboard no longer avoids the input fields in my app (on Android). This behavior only happens after visiting a screen that renders GiftedChat. Before that, Scrollview, react-native-keyboard-aware-scroll-view,... works fine throughout the app. Restarting the app restores normal keyboard behavior.

This issue only happens on Android. iOS works as expected.
Updated: I found that this problem also happens on Android devices when I wrap the whole app with KeyboardProvider of react-native-keyboard-controller.

Environment:
"react-native-gifted-chat": ^2.6.5 || ^2.8.1,
"react-native": 0.76.9,
"react-native-keyboard-controller": ^1.16.6,
Android version: 12, 13

Let me know if more info is needed. Thank you for maintaining this useful library!

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