Encountered an issue with Bootstraps navbar-fixed-top on iPhone 6+ in landscape mode on iOS 8 when multiple tabs are open.
To replicate the bug:
1) Visit http://getbootstrap.com/examples/navbar-fixed-top/ on iPhone 6+ in landscape mode with another tab open
2) Scroll down the page without expanding the collapse menu
3) Once Safari's status bar disappears, expand the navbar
4) Scroll back up until Safari's status bar reappears
5) Try to close the navbar.
This issue was present in iOS 7 but could be resolved by adding the viewport minimal-ui meta tag. Testing on iPhone 6+ and simulator running iOS 8 indicates that the bug is related to the tabs showing on the status bar. It seems this problem extends beyond Bootstrap and affects any fixed element at the top.
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" />
<div class="to-sticky navbar-fixed-top">
<div class="nav-container">
<div class="navbar">
<div class="navbar-header">
<a type="button" class="navbar-toggle btn-secondary btn" data-toggle="collapse" data-target=".navbar-ex1-collapse">
Main Menu
</a>
</div>
No workaround has been found yet. Any suggestions?