initialxy / cordova-plugin-themeablebrowser

Fork of org.apache.cordova.inappbrowser in an attempt to make it a bit more themeable and configurable to add some custom actions.
Apache License 2.0
294 stars 221 forks source link

Orientation change (iOS only) #115

Open EmilioVillante opened 7 years ago

EmilioVillante commented 7 years ago

Hey, thanks for the plugin, its saved me a lot of implementation time :)

I have an issue where opening the browser while portrait, rotating to landscape then closing the browser results in the apps view breaking. Rotating back to portrait will reset the view and everything will look fine again. What I find strange is that if I open the browser while landscape, rotating to portrait then closing the browser nothing is broken. Is this a bug with the plugin / ionic / my implementation of either?

antony-k1208 commented 7 years ago

Hey. We had the same problem, that why we installed the cordova-plugin-screen-orientation plugin and using its functionality to lock our views before opening the inApp browser and unlocking it again afterwards.