preventDefault() , ( , , ). - .
, preventDefault() stopPropagation() false. . .
: ! , ! , <select>, ..
, : 1) 500 , , 2) / . , .
This situation is very common when programming an iPad. For example, in many cases you need to detect a touch movement (even in the input field) and interpret it as a movement, but to interpret the movement of the touch release (without movement) as a click in order to activate the input field, you must do what I suggest above: preventDefault()and update the event if necessary.
source
share