Skip to content

TreeView should respond to Space keyboard event #4269

Description

@lukeed

Description

Because multiple SubTrees can be expanded, it's recommended to allow Space to toggle expansion state.

While there are additional recommended keyboard navigations, these others aren't as common. Using Space seems to be supported everywhere.

Steps to reproduce

  1. Visit any TreeView instance; see examples
  2. Activate keyboard focus into TreeView
  3. Focus a directory item & verify that left/right arrows and Enter are working
  4. Press Space –> no toggle

Version

35.29.0 & latest

Browser

Chrome, Safari, Firefox

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions