Skip to content

After clicking show/hide in info pane, keypresses are not detected #2457

Open
@morantsur

Description

@morantsur

Expected Behavior

After clicking hide/show, the buttons should not be focused, so that key presses will be detected.

Actual Behavior

The hide/show buttons stay focused, and while they are focused clicking the keyboard doesn't activate the relevant scripts.

Steps to Reproduce

  1. Create this script: when space is clicked -> show.
  2. Hide the sprite through the button in the info pane
  3. click the space bar

We would expect to see the sprite visible again, but it's not.

Operating System and Browser

Chrome on Mac 10.13.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions