InAppBrowser compatibility in landscape mode (iOS)

When I combine the latest Capacitor (v2.4.6) with the Cordova plugin InAppBrowser (cordova-plugin-inappbrowser v4.1.0) the orientation change does not work (from portrait to landscape). It’s impossible for me to use the integrated Browser plugin from Capacitor, because I need specific functions from the InAppBrowser plugin (like injection of JS/CSS/Cookies).

I have created a simple project (default Tabs project from Ionic), that opens InAppBrowser on startup. You can see, the toolbar rotates, but the Capacitor website is still in portrait mode.

ezgif.com-gif-maker

Can someone help me out? Or is there something similar to use?