Skip to content

Flyout only default focuses blocks #9103

@BenHenning

Description

@BenHenning

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

Navigating to the flyout with tab navigation with the keyboard experimentation plugin results in only the first block of the flyout being auto-focused rather than the first item.

Reproduction steps

  1. Check out the latest versions of core Blockly and the keyboard experimentation plugin.
  2. Link core Blockly to the keyboard experimentation plugin.
  3. Start the keyboard experimentation plugin test environment playground.
  4. Tab navigate to the toolbox.
  5. Use arrow keys to navigate to 'Variables'.
  6. Create a variable.
  7. Refocus the toolbox (there's currently a bug wherein focus is completely lost after creating a variable).
  8. Arrow key navigate back to 'Variables'.
  9. Press 'right'.
  10. Observe that the 'set variable' block is selected first rather than 'Create variable'.

The same can be observed via the 'misc' category, but that requires a fix for RaspberryPiFoundation/blockly-keyboard-experimentation#241 in order to navigate (since otherwise it's impossible to navigate to a category's flyout).

Stack trace

Screenshots

No response

Browsers

Chrome desktop

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions