If you manually write a pop-up box, with a translucent mask, the pop-up box, when sliding on the mask, will make the background content follow the slide, the experience is not good, this happens to scroll through.

Solutions:

Apply the following style to the parent node of the mask (the background affected by sliding) :

.father{ overflow: hidden; position: fixed; height: 100%; width: 100%; }

That’s the same thing as disallowing the scroll property.

The program continues to be updated…