mvasin / react-div-100vh

A workaround for the '100vh' issue in mobile browsers

Home Page:https://react-div-100vh.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with recalculating height on mobile

rinorzek opened this issue · comments

I'm having a problem with mobile, when you first open the page we have the address bar and the bottom nav bar, and for the it calculates the div correctly to fill the space, but when I try to scroll on the div the address bar hides and the results to a div shorten then it supposed to be. Is there a way to recalculate that height after the address bar is hidden or something similar?

My bad seems like my issue is similar to the one here #37