Open tung2744 opened 10 months ago
But actually I tried to make a 0 height body, and found that it will be still scrollable in ios when the keyboard appears. It seems that scrolling is not related to viewport height.
Using vh
does not seem necessary in our case. Maybe we should remove the use of it.
Discovered in https://github.com/authgear/authgear-server/issues/3445
Currently, when opening auth ui in ios, there are multiple vertical scrolling elements, therefore fixed / sticky doesn't work as expected. Check how to reduce scrolling element to 1.
Maybe it is related to the use of
vh
unit.https://stackoverflow.com/questions/37112218/css3-100vh-not-constant-in-mobile-browser