Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: UI Jumping When Opening Keyboard in Chat Page #30268

Open
3 tasks done
tzdevelopteam opened this issue Mar 18, 2025 · 0 comments
Open
3 tasks done

bug: UI Jumping When Opening Keyboard in Chat Page #30268

tzdevelopteam opened this issue Mar 18, 2025 · 0 comments
Labels

Comments

@tzdevelopteam
Copy link

tzdevelopteam commented Mar 18, 2025

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

When opening the keyboard in a chat page where the input field (ion-input) is placed in the footer (ion-footer), several UI jumps occur:

  1. Jump before the keyboard opens – The Safe Area at the bottom is removed just before the keyboard appears, causing the messages to shift slightly downward.
  2. Jump after the keyboard opens – The footer does not move smoothly with the keyboard animation but instead jumps above the keyboard after it fully opens.
  3. Scrolling issue – After opening the keyboard, the page does not automatically scroll to the last seen message before the keyboard opened, requiring manual scrolling to find the previously viewed message.

Expected Behavior

  • The Safe Area at the bottom should remain stable before the keyboard opens.
  • The footer should move smoothly along with the keyboard without additional jumps.
  • The page should automatically scroll so that the last seen message before opening the keyboard remains visible.

Steps to Reproduce

  1. Scroll down to the bottom of the chat page.
  2. Click on the input field to open the keyboard.
  3. Observe the UI behavior, noting the jumps and scrolling issues.
screenrecording-03-18-2025-23-37-44-1_54UFJVlD.mp4

Code Reproduction URL

https://github.com/tzdevelopteam/chat-issue

Ionic Info

  • Capacitor Version: 7.1.0
  • Platform: iOS / Android

Additional Information

Tried modifying settings, including keyboardResize in capacitor.config.ts, but the issue persists.

@ionitron-bot ionitron-bot bot added the triage label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant