Skip to content

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

@hd-info

Description

@hd-info

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"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions