after ios H5 is embedded in app, the height of the fixed pop-up window exceeds the viewport height when the height of the fixed pop-up window is $(window). InnerHeight (), that is, the
pop-up window does not have a scroll bar, and the height is now $(window). InnerHeight ();
html:
<div class="export-success-dialog" id="export-success-dialog">
<div class="content">
.........
</div>
</div>
css:
.export-success-dialog{position: fixed;top: 0;left: 0;width: 100%;max-height: 100%;overflow-y:auto;z-index: 9999;padding:4%;color: -sharp666;background: -sharpfff;}
.export-success-dialog .content{display: block;width: 100%;max-height: 100%;overflow-y: auto;position: relative; }
:$(window).innerHeight()-title bar
:
is it true that after H5 is embedded in app, the height of the page needs to be deducted from the height of title bar?