These two days in a WAP page, on the chrome to simulate the mobile side, all good, but put on the phone test,
Some click events are found to be unresponsive, but some respond;
Is it because I have a scrolling plugin on my page that preventdefault the touch event causes Click to fail?
So, replaced by the Touchsart incident tried, the effect is slightly better than before, but there are repeated click events, the small white to check for a while,
Found on the page is clearly in the scrolling area of the click events, for the hair of the good, this does not, careful comparison, found that the other is a label,
The invalid is div, so, I like to find the new world, hemp slipped the div to a tag, so, the good!
So, I think, is the mobile div's Click events are so chicken-like? , and then the div bound event in a non-scrolling area is tested,
Found no problem, so, I summed up, in the useful to scroll touch related events to block the default behavior, when the click binding of Div fails,
Turn it into a label.
Development of Mobile Web page click event Invalidation