Cap-go / capacitor-inappbrowser

Capacitor plugin in app browser with urlChangeEvent
MIT License
57 stars 37 forks source link

iOS Bugfix: `viewWillAppear` resets view to default styles #154

Closed iserratos closed 1 day ago

iserratos commented 2 days ago

The viewWillAppear method is triggered not only the first time the browser view is presented but also in other instances, such as when opening a file picker or the camera.

This change introduces a flag to check if the first presentation has already occurred, ensuring that styles are reset appropriately whenever the browser window reappears.

iserratos commented 1 day ago

cc @riderx

Bringing in a bug fix for a case where the iOS layout breaks after the camera or file picker is open in iOS.