[Bug]: Keyboard pushes WebView up and scroll triggers back navigation on Android 16 (edge-to-edge enforcement)

オープン
#8,432 コメント 5 件 リアクション 3 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
android
領域
mobile-dev

調査の方向性

レポートでは、ソースファイル、テスト、またはエントリーポイントが特定されていません。まず、Android 16 を実行する Pixel 9 Pro XL 上で Capacitor 8 のフルスクリーン固定オーバーレイを使用した場合のキーボードと戻るナビゲーションの挙動を再現し、その後、入力フォーカスによって画面がその場に留まり、フォームのスクロールで戻るナビゲーションが発生しなくなることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

needs reproduction
Capacitor Version

Device: Google Pixel 9 Pro XL, Android 16 (SDK 36)
Capacitor 8
Two symptoms: (1) keyboard opening pushes the entire screen up, (2) scrolling down inside a form dismisses the screen and navigates back
Already tried without success: adjustPan in AndroidManifest, @capawesome/capacitor-android-edge-to-edge-support, @capacitor-community/safe-area, WindowCompat.setDecorFitsSystemWindows, Keyboard: { resizeOnFullScreen: false }, captureInput: true, adjustMarginsForEdgeToEdge: force
Related issues: #7983, #8166, #8214

Other API Details

Platforms Affected
  • iOS
  • Android
  • Web
Current Behavior

Device: Google Pixel 9 Pro XL, Android 16 (SDK 36)
Capacitor 8
Two symptoms: (1) keyboard opening pushes the entire screen up, (2) scrolling down inside a form dismisses the screen and navigates back
Already tried without success: adjustPan in AndroidManifest, @capawesome/capacitor-android-edge-to-edge-support, @capacitor-community/safe-area, WindowCompat.setDecorFitsSystemWindows, Keyboard: { resizeOnFullScreen: false }, captureInput: true, adjustMarginsForEdgeToEdge: force
Related issues: #7983, #8166, #8214

Expected Behavior

When a user taps an input field and the soft keyboard opens, the screen should remain in place — it should not shift, jump, or push content upward. The user should be able to scroll within the form normally without triggering back navigation. This behavior works correctly on Android 14 and below.

Project Reproduction

N/A — reproducible in any Capacitor 8 app targeting Android 16 (SDK 36) with edge-to-edge enforced. The issue occurs when tapping any input field inside a position: fixed fullscreen overlay component while running on a physical Pixel 9 Pro XL with Android 16.

Additional Information

No response

主要言語
TypeScript
スター
17.1k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
26

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor のほかの issue

ionic-team/capacitor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。