Open halluzineyt opened 10 years ago
Hmm you could try this:
html.sb-active {
overflow: hidden;
}
This should stop scrolling when a Slidebar is open!
Let me know if that works!
Thanks, Adam
Thanks! Works fine on desktop but didnt worked on mobile.
Hmm, ok try this then:
html.sb-active:not(.sb-static) {
overflow: hidden;
}
html.sb-active:not(.sb-static) body {
height: 100%;
overflow: hidden;
}
Nothing changed sir.
Hmm, what did you test that on? I tested it on iOS 7 and it worked ok.
im using android 4.2.1 sir
Are you using the stcock browser or something else? Or are multiple effected?
same browsers have the same effect. chrome and stock
This worked for me!
html.sb-active { overflow: hidden; position: fixed; }
However, the entire site scrolls back to top.
Hi manfuku,
Thanks for letting me know, i'll be sure to check it a go.
Adam
Is there a way to prevent the body scrolling along the side bar when scrolled down? sample: test.flippish.com put the window into 800 window size to see the top left menu?