mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 02:27:53 +08:00
Merge pull request #1377 from konvajs/revert-1372-cg/touch_click_propagation
Revert "make sure `preventDefault()` is not called on touchend-events per default"
This commit is contained in:
commit
54964ba37d
@ -737,7 +737,7 @@ export class Stage extends Container<Layer> {
|
||||
|
||||
// always call preventDefault for desktop events because some browsers
|
||||
// try to drag and drop the canvas element
|
||||
if (evt.cancelable && eventType !== "touch") {
|
||||
if (evt.cancelable) {
|
||||
evt.preventDefault();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user