fix: 🐛 add comment, want to release new version

This commit is contained in:
vector
2021-04-26 14:15:13 +08:00
parent 36f13e22cf
commit 1ba9b9c503

View File

@ -27,6 +27,7 @@ export class Keyboard extends Disposable implements IDisablable {
this.target.setAttribute('tabindex', '-1')
}
// change to mousedown eventprevent page stalling caused by focus
this.graph.on('cell:mouseup', this.focus, this)
this.graph.on('blank:mouseup', this.focus, this)
}