On the mobile side H5 page, especially those full-screen box display switch page, when the user accidentally slipped his finger to the browser address block above (China Mobile this fast region); At this point, the finger has left the screen, but iOS can not hear the Touchend event ; The callback function event of toucend monitoring is directly invalid;
The problem is only on the real machine, the simulator, Android temporarily did not find; Touchcancel canceling the event is no use;
Baidu for a long time. Asked a lot of people did not find a way, then suddenly think of a solution; move when the address block; Call the end callback function directly,
if (Touchs.clienty<2&&isios) { // If you encounter an address block iOS phone bug end (e );
Where Touchs.clienty<2 is not recommended if (!touchs.clienty&&isios) {}
Mobile iOS Touchmove slide to border (browser address blocking above) Touchend failure resolution