Skip to content

add canvas tab index so it recieves keydown events#207

Merged
comfyanonymous merged 1 commit intoComfy-Org:masterfrom
abbail:patch-canvas-tabindex
Mar 21, 2023
Merged

add canvas tab index so it recieves keydown events#207
comfyanonymous merged 1 commit intoComfy-Org:masterfrom
abbail:patch-canvas-tabindex

Conversation

@abbail
Copy link

@abbail abbail commented Mar 21, 2023

This should fix #201 and clean up other broken keyboard shortcuts from the default litegraph.js implementation that require keydown events. Some browsers do not fire key events for elements without a tab index.

@comfyanonymous comfyanonymous merged commit 5b1efc7 into Comfy-Org:master Mar 21, 2023
@abbail abbail deleted the patch-canvas-tabindex branch March 21, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove by "Delete" button

2 participants