authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
81 stars 37 forks source link

Remove usage of 100vh #3473

Open tung2744 opened 10 months ago

tung2744 commented 10 months ago

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

tung2744 commented 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.

louischan-oursky commented 10 months ago

Using vh does not seem necessary in our case. Maybe we should remove the use of it.