Today in the mobile side of the project encounter mask layer effect, according to the previous PC side I directly to the level mask layer 100% after the test looks perfect but ...
This is embarrassing ....
After reviewing the relevant information that there is a way to solve the problem that is "Prohibit global scrolling"
The touch event in the inside can refer to the HTML5 mobile
Document.addeventlistaner (' Touchmove ', Stoptouchmove,false); // executes the Stoptouchmove function when the hand moves on the screen (blocks default events) // This can be used when the mask layer pops up to execute
Document.removeeventlistener (' Touchmove ', Stoptouchmove,false); // Remove Touchmove Event // this is performed when the mask layer is closed
function Stoptouchmove (e) { e.preventdefault (); } // block default Event functions
See how I solved it.
This perfectly solves the problem that the mask layer cannot cover all pages!
Resolving a mobile matte layer does not cover all page issues