My investigation showed that this Android web browser error ("changechange" fires 20-150 ms before changing the window.innerHeight Javascript value) exists when the default user agent of the web view is changed. Do not ask me how this relates to another.
But to solve your problem, you can do one of the following:
1) get rid of the following useragent modification from your code
webView.getSettings () setUserAgentString ("user agent order") ;.
2) use the "resize" event instead of the "changechange" event
source share