diff --git a/web/scripts/app.js b/web/scripts/app.js index dc61c5a..fd410cd 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -494,6 +494,7 @@ class ComfyApp { // Create and mount the LiteGraph in the DOM const canvasEl = (this.canvasEl = Object.assign(document.createElement("canvas"), { id: "graph-canvas" })); + canvasEl.tabIndex = "1" document.body.prepend(canvasEl); this.graph = new LGraph();