apache / apache/cordova-plugin-inappbrowser
[Android] close button will duplicated if the option footer is set to yes
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
## Problem
### What is expected to happen?
If you set the option __footer__ to `yes` the close button should appear only in the bottom with navigation buttons.
### What does actually happen?
If you set the option __footer__ to `yes` the close button appear in both the bottom and the upper side of the inappbrowser. (the close button duplicated in tow sections upper and bottom).
And the navigation buttons still in the top.
## Information
Please set `footer=yes` and open inappbrowser in any android device.
### Command or Code
`var ref = cordova.InAppBrowser.open('https://apache.org', '_blank', 'location=no,footer=yes');`
### Environment, Platform, Device
Android, Any Android devices.
### Version information
Cordova CLI 9.0.0
Cordova Android 8.1.0
Cordova-Plugin-Inappbrowser Master Version.
## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
Start by reproducing the Android behavior with cordova.InAppBrowser.open('https://apache.org', '_blank', 'location=no,footer=yes') on an Android device, then trace the InAppBrowser UI handling for the footer option. Done means the close button appears only in the bottom footer with the navigation buttons, without the duplicate upper close button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100