javascript - How to prevent the following part from scrolling?
为情所困
为情所困 2017-05-19 10:27:44
0
2
576

An h5 page that comes into the app for the first time, how to prevent the following page from scrolling when dragging the black mask

#
为情所困
为情所困

reply all(2)
曾经蜡笔没有小新

You can bind events to the mask, and then e.preventDefault();e.stopepropagation();

刘奇

When the pop-up window appears, add a style to the page behind the pop-up windowoverflow:hidden;. When the pop-up window disappears, remove this style

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template