Disable pull to request on a plugin page

Re: Disable pull to request on a plugin page

ដោយ Adrián Rodríguez នៅ
ចំនួនតប៖ 0

Hi Dani,

Thanks for opening a issue. At the moment, I have used this workaround so that the event doesn't reach PTR component:

// touchmove handler
function process_touchmove(ev) {
  ev.preventDefault();
  ev.stopPropagation();
}

const map = document.getElementById("map");
map.addEventListener("touchmove", process_touchmove, false);


មធ្យមភាគនៃរង្វាយតម្លៃ: -