Since the latest iPhone/iPad update the sidebar navigation menu is flickering while scrolling up and down.
I've been trying many approachs but nothing really works.
The first try was to prevent scrolling (body), when the menu is open:
.overflow {
position:relative;
overflow:hidden;
height:100%;
}
Unfortunately this doesn't fix the issue so I have tried this:
.overflow {
position:fixed;
overflow:hidden;
height:100%;
}
This works but when a user opens the menu the page jumps to the top and the address bar also appears. IMO not a good user experience.
I have also tried to add this to several elements:
div {
-webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
backface-visibility: hidden;
}
So, now I could either try to solve it with the position-fixed approach or try to avoid the flickering. I don't know why but the 'overflow:hidden' doesn't really work on iPhones.
Does anyone have a nice fix for this?