Re:Avoid 100vh on Mobile Web
by jariz on Monday September 30, 2019 @08:02AM
(#21114321)
Using JS over CSS for sizing elements rarely is a 'better solution', mostly because of flashes of unstyled content - especially on mobile where it might take longer for the JS to fully initialise.
Like other comments on here say, just use height: 100% instead.
Like other comments on here say, just use height: 100% instead.