When ever i changed height of body and HTML to 100% scroll bar of page disappears , how do i stop that
i'm getting two scrollbars after that trying this
thank you
When ever i changed height of body and HTML to 100% scroll bar of page disappears , how do i stop that
i'm getting two scrollbars after that trying this
thank you
Instead of changing the css
, which will remove the scrollbar
, and as you said change the layout of the page, try calling a jquery function
instead.
JS
// call your pop up and inside that function add below
$('body').on('scroll mousewheel touchmove', function(e) {
e.preventDefault();
e.stopPropagation();
return false;
});
Then when you close the modal, call the same function but replace
on
withoff