mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge branch 'master' of github.com:konvajs/konva into master
This commit is contained in:
commit
de571787d3
@ -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) {
|
||||
if (evt.cancelable && eventType !== "touch") {
|
||||
evt.preventDefault();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user