JSFiddle - React, Tailwind, and code Playground
HTML
<div id="parent">
<div id="child">
</div>
</div>
<div id="messages"></div>
CSS
#parent {
width: 200px;
height: 200px;
background: red;
}
#child {
width: 200px;
height: 200px;
background: blue;
}
JavaScript
$("#parent").on('touchmove', function(e) {
e.preventDefault();
$("#child").remove();
$('#messages').append('<p>fired</p>');
});