jQuery Mobile height issue for iPhone web app, assumes page height of 480 instead of 460

后端 未结 1 508
孤街浪徒
孤街浪徒 2021-01-14 08:40

jQuery Mobile seems to calculate the page height upon initializing, but since we enable the status bar in our app, JQM assumes we have 480 px available instead of 460 px.

相关标签:
1条回答
  • 2021-01-14 09:01

    Turns out it wasn't a JQM issue. We had 'height=device-height' in our viewport meta tag. Removing this solved the problem.

    0 讨论(0)
提交回复
热议问题