I have a menu that opens where I need to lock body scrolling when its open. I cannot figure out how to do this completely. I did figure out I can set niceInstance.locked = true; and niceInstance.locked = false; to enable and disable the mouse wheel scrolling which is good enough... However it bugs me that you can still hover the mouse over the "scroll bar area" and it pops up, and then you can still click and drag the scrolling even though the instance is set to locked.
I did not see a method that is designed to enable and disable the functionality. Am I missing something or is this a feature request?
I have a menu that opens where I need to lock body scrolling when its open. I cannot figure out how to do this completely. I did figure out I can set
niceInstance.locked = true;
andniceInstance.locked = false;
to enable and disable the mouse wheel scrolling which is good enough... However it bugs me that you can still hover the mouse over the "scroll bar area" and it pops up, and then you can still click and drag the scrolling even though the instance is set to locked.I did not see a method that is designed to enable and disable the functionality. Am I missing something or is this a feature request?