Is there any way to find out the height of the browser address bar on the phone (jquery)?

It is necessary that the banner height takes up 100% of the screen height, but if you scroll to its disappearance, then everything is as it should, but scrolling is not an option when loading.

  • one
    I think you have a hammer error . Do you really need exactly the height of the address bar in a mobile browser and not, say, the height of the visible area of ​​the screen? It’s not very clear what can be done with this value - the page doesn’t really affect the address bar. - yeputons
  • @yeputons, it is necessary that the banner height takes up 100% of the screen height, but if you scroll to its disappearance, everything is as it should, but scrolling is not an option when loading - Ristek
  • “If you scroll until it disappears, then everything is as it should, but scrolling is not an option when loading” - I don’t understand this part. - Nick Volynkin ♦
  • @NickVolynkin, after the load event is triggered, the document will already be scrolled, but it has already resolved the issue, thanks - Ristek
  • @NickVolynkin how to solve the question? - Alexey Oboyansky

0