[Bug]: keyboard is hiding the input field on Android

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

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

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

評価

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

調査の方向性

app-mini mini_app release にあるリンク先の最小再現から始め、issue に記載された Android キーボードの挙動を確認してください。Capacitor Keyboard API のドキュメントを読み、その後、webview のリサイズを引き起こしている Android の挙動を追跡してください。Android で入力中もフォーカスされた入力欄が表示されたままになり、記載された iOS の違いに対してリグレッションが発生しなければ完了です。

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

説明

needs reproduction platform: android
Capacitor Version

Capacitor Version
Capacitor Doctor

Latest Dependencies:

@capacitor/cli: 7.4.2
@capacitor/core: 7.4.2
@capacitor/android: 7.4.2
@capacitor/ios: 7.4.2

Installed Dependencies:

@capacitor/android: not installed
@capacitor/cli: 7.4.2
@capacitor/core: 7.4.2
@capacitor/ios: 7.4.2

[error] Xcode is not installed

Other API Details
npm version: 8.19.4
node version : v20.14.0
Platforms Affected
  • iOS
  • Android
  • Web
Current Behavior

When I type on an input field, the keyboard hides it
See the minimum example in github https://github.com/Toto5931/app-mini/releases/tag/mini_app

Expected Behavior

I would expect the size of the webview to be reduced so that the input stays visible while we are typing

Project Reproduction

https://github.com/Toto5931/app-mini/releases/tag/mini_app

Additional Information

This problem is different from the https://github.com/ionic-team/capacitor/issues/8099 which concerns iOS
I have looked at https://capacitorjs.com/docs/apis/keyboard but the resize option is Only available on iOS.

Image Image
主要言語
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 を短くまとめたダイジェスト。