html - div overflow scroll: when scrolled to bottom, content starts scrolling -


i have modal dialog scrollable div inside. div set to

overflow: scroll; 

however, when user scrolls way down inside div, content behind popup starts scrolling down.

question: when popup open, don't want user able scroll main page behind it. possible?

i don't think there need me provide code, general question.

using jquery set css as

overflow: hidden  

when popup open

and on popup close use

overflow : auto or overflow : scroll wish.

i think, don't need write code it.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -