CustardBun
CustardBun

Reputation: 3857

How to detect Android Split Screen Resizing from Web View?

We are working on a webpage that is currently having issues with split screen resizing.

When we change the orientation of the page on a mobile browser or do a window resize on a desktop browser, we are able to run the required updates fine because we listen to the resize and orientationchange events that get fired with either type of event.

However, we just realized that with split screen on Android (and possibly split screen on iOS tablets), we aren't triggering any resize events for the window and therefore can't do proper updating of our elements based on the split screen being activated or updated (when the user moves the split).

Is this something we can work around or am I just completely missing some functionality that I should be using?

I have looked around online and haven't found anything related so far that I could use from our JS.

Thanks! Any pointers would be greatly appreciated.

Upvotes: 1

Views: 1051

Answers (0)

Related Questions