Stop Background Page Scrolling with Popups

Stop Background Page Scrolling with Popups

  

Does anybody know the best way to stop the background page from scrolling when a popup is opened?  Whenever my popup requires scrolling within it, its very easy to also scroll the background page and move the popup window.  Ideally I would like to lock the popup in the centre of the screen and only scroll within the active window.

Thanks

Dan

Hi Daniel,

What you want is unfortunately not possible. The pop-up is part of the parent's screen window, and scrolls along with it.

Hey Daniel,

Easy fix, throw this inside your application

.os-internal-Popup {
    position:fixed;   
}