You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
In stock browser the calculated min-height is right but the browser don't refresh and don't apply the right height when the container height is less than screen height. When you touch the screen the browser refresh and apply the new height.
I think this occur because the new min-height is applied after on ready event and the browser don't apply the new style. So I solved the issue, as a workaround, forcing a repaint of "page" container in that function with: page.hide.show(0)
After that, i got it solved but when i rotate the device from portrait to landscape i got the same issue because the previous height is less than new height and the new min-height isn't applied . To solve it, i need to force the apply of calculated "min-height" every time. After that, all works okay and not get more issues on that devices or anothers that if tested.
In stock browser the calculated min-height is right but the browser don't refresh and don't apply the right height when the container height is less than screen height. When you touch the screen the browser refresh and apply the new height.
I think this occur because the new min-height is applied after on ready event and the browser don't apply the new style. So I solved the issue, as a workaround, forcing a repaint of "page" container in that function with: page.hide.show(0)
After that, i got it solved but when i rotate the device from portrait to landscape i got the same issue because the previous height is less than new height and the new min-height isn't applied . To solve it, i need to force the apply of calculated "min-height" every time. After that, all works okay and not get more issues on that devices or anothers that if tested.
Finally the resetActivePageHeight function are:
¿When the height determined by css is insufficient? ¿Why not apply the min-height every time?
If you need more info, please tell me. I can do a test case.
The text was updated successfully, but these errors were encountered: