Skip to content

[Android] InAppBrowser window not fit screen edges from top and bottom when AndroidEdgeToEdge preference set true #1085

@mosabab

Description

@mosabab

Bug Report

Bug

Problem

When enable AndroidEdgeToEdge preference in config.xml and build your app, try to run inappbrowser, it will not display correctly, the upper and bottom area of mobile device screen show empty area.

What is expected to happen?

InAppBrowser should fit the empty area of mobile device from upper and bottom areas of screen.

What does actually happen?

Empty area appear from up and bottom of screen device.

Information

Test with Inappbrowser option fullscreen set to false.

To see this issue you should run emulator in android studio, emulator like pxiel 9a to see how edges appear.

Command or Code

Environment, Platform, Device

Android

Version information

Cordova-android v14.0.1
Android Studio emulator: Pixel9a

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions