Open berniesf opened 5 years ago
line 1260 of leaflet.draw 1.0.4 document.addEventListener('touchstart', L.DomEvent.preventDefault, { passive: false }); replace with
document.addEventListener('touchstart', L.DomEvent.preventDefault, { passive: false });
var tempMap = document.getElementById("map"); tempMap.addEventListener('touchstart', L.DomEvent.preventDefault, { passive: false });
or equivalent code.
This PR is made over wrong branch (and I even do not see here any relevant commit). Also solution from description does not work for as is, so I've modified it a bit: #930
928
line 1260 of leaflet.draw 1.0.4
document.addEventListener('touchstart', L.DomEvent.preventDefault, { passive: false });
replace withor equivalent code.