Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation change does not resize the web view for background web container #352

Open
hd-info opened this issue Sep 14, 2018 · 1 comment

Comments

@hd-info
Copy link

hd-info commented Sep 14, 2018

If I have body background html with url to some web page, upon orienting device to landscape, the web-view that is holding the page retains it's previous, portrait width.
This works on Android because page is reloaded automatically when orientation changes.
If on iOS I put:
"$foreground": {
"type": "$reload"
},
then after minimizing and restoring the app again reload action is triggered and web view resizes to full landscape width.

The best would be to do the same as on Android or you can finally implement $resize event that was proposed year and a half ago so I can put
"$resize": {
"type": "$reload"
},

@ricardojlpinto
Copy link

Hi, i've suggested a fix for this bug, you can follow it here: #358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants