Why jQuery touch events don't work with browsers other than chrome

On a touch laptop, jQuery touch events only work in the Google Chrome browser and do not work with other browsers.

For example: touchmoveevent

FIDDLE DEMO

Code snippets:

$(function() {
  $("div").on("touchmove", moveE);
  function moveE(e) {    
    console.log(e.type);
  }
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div style="height:200px; width:200px;background:red;">
  TEST
</div>
Run codeHide result

Can anyone share information about this?

+4
source share

Source: https://habr.com/ru/post/1652315/


All Articles