How to make the page under the pop-up it was impossible to scroll?

0 like 0 dislike
29 views
There is a page scroll if you open the hit (position:fixed), it is necessary that the content under the pop-up is not scrolled. How is it possible to do this without having to hang on body overflow:hidden?
asked by | 29 views

3 Answers

0 like 0 dislike
Such is the exotic option.
answered by
0 like 0 dislike
Try the body.style.overflow = 'hidden' while in advance put the body tag into a variable body, not to write the document
answered by
0 like 0 dislike
When you call modelki, sign up for the event to scroll the desired item, and cancel it. When you close, cancel
answered by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Oct 26, 2018 by Shuboanator
0 like 0 dislike
1 answer
asked Nov 23, 2018 by Varfolomei6996
0 like 0 dislike
2 answers
24,509 questions
45,932 answers
0 comments
352 users