Photo Browser - Orientation change bug?

IMG_2596 IMG_2597 IMG_2598 IMG_2599

If phone rotated to landscape and back to portrait, gap is visible (like status bar). Detailed in attached photos? Any ideas how to solve?

Thanks

Is it a cordova app or what? Does it happens only in photo browser or anywhere in the app?

Hi,

Yes, a cordova app. I have app locked in portrait mode, only unlocking it to allow landscape mode when opening photo browser, so I guess it only happens there.

How can i replicate it?

Hi,

Txh for helping me. To reproduce you can:

cordova create f7 com.nl4w.f7 f7
cd f7
cordova platform add ios

cordova plugin add cordova-plugin-wkwebview-engine
or
cordova plugin add cordova-plugin-ionic-webview

add in your Confix.xml

<access origin="*" />
<allow-intent href="*" />

in your /www/js/index.js file in fn receivedEvent() add

window.location="https://framework7.io/kitchen-sink/core/?theme=ios";

You should get f7 kitchen-sync.

Just rotate screen to landscape and back to portrait