chatscope / chatscope/chat-ui-kit-react

Keyboard on mobile doesn't push up the content

Open
#170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Hello, and thank you for the library!
While implementing a chat interface I noticed a weird behaviour - when on mobile (Android, not sure about iOS) and you click to type (click the `MessageInput` component) the keyboard hides half of the screen. If you start typing then it pushes the content up, and focuses on the input field. In my opinion this behaviour should happen on the initial click, not after you start typing. This can also be observed on the demo chats.

Any ideas how this can be solved?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.