Open
Description
When using the InAppBrowser plugin in an Ionic Angular project, the modal height is set to 70% in the configuration, but the actual displayed height remains at the default value of 50%. This issue only occurs on Android devices and does not appear in the browser or on iOS.
Steps to reproduce:
- Implement InAppBrowser in an Ionic Angular project.
- Set the system browser's ViewStyle to bottom-sheet for Android devices and configure the height to 0.7 (for 70%) using the bottom-sheet options
- Run the app on an Android emulator or a real device.
- Click the button that opens the URL in InAppBrowser.
Expected behavior:
The InAppBrowser modal should open with a height of 70% in Bottom-Sheet mode.
Actual behavior:
The InAppBrowser modal opens with the default height of 50% on Android devices, despite setting the height to 70% in the configuration.
Screen_recording_20250212_131204.mp4
Environment:
- Capacitor: 6.x
- Ionic: 8.x
- Angular: 19.x
- InAppBrowser Plugin: 1.0.3
Additional context:
You can find a minimal example to reproduce the issue in my GitHub repository.
Metadata
Metadata
Assignees
Labels
No labels