Only grab key events on canvas
Give the canvas proper focus handling. This avoids messy logic that needs to disable and enable event handling when we want to interact with other UI elements. It also makes sure we can properly inhibit the browser from triggering local actions on key presses.
This commit is contained in:
Reference in New Issue
Block a user