Skip to content

bug: edge-to-edge is duplicating the keyboard area and shrinking the webview too much on Android 16 #812

@HarelM

Description

@HarelM

Plugin(s)

  • Accelerometer
  • Age Signals
  • Android Battery Optimization
  • Android Dark Mode Support
  • Android Edge-to-Edge Support
  • Android Foreground Service
  • App Review
  • App Shortcuts
  • App Update
  • Apple Sign-In
  • Asset Manager
  • Audio Player
  • Audio Recorder
  • Background Task
  • Badge
  • Barometer
  • Biometrics
  • Bluetooth Low Energy
  • Cloudinary
  • Contacts
  • Datetime Picker
  • File Compressor
  • File Opener
  • File Picker
  • Geocoder
  • Google Sign-In
  • libSQL
  • Live Update
  • Managed Configurations
  • Media Session
  • NFC
  • OAuth
  • Pedometer
  • Photo Editor
  • PixLive
  • Posthog
  • Purchases
  • Printer
  • RealtimeKit
  • Secure Preferences
  • Screen Orientation
  • Screenshot
  • Speech Recognition
  • Speech Synthesis
  • Share Target
  • Square Mobile Payments
  • SQLite
  • Superwall
  • Torch
  • Zip

Version

8.0.6

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

Webview size is shrinked "too much" when the keyboard is present

Expected behavior

Webview size should be properly set when the keyboard is on

Reproduction

https://github.com/HarelM/edge-app-test

Steps to reproduce

  1. Open android 16 emulator on Android studio, click a input text box, look at the screen.

Other information

This is how my app looks on the emulator, notice the white area between the keyboard and the rest of the app.

I still need to check but I don't think this is present in Android 12 for example.

Image

Capacitor doctor

💊   Capacitor Doctor  💊 

Latest Dependencies:

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

Installed Dependencies:

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

[success] iOS looking great! 👌
[success] Android looking great! 👌

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions