Skip to content

Keyboard navigation: using "up arrow" doesn't visit all nodes #6667

@kmcnaught

Description

@kmcnaught

Describe the bug
With the following layout, created by using "format code" shortcut, you are unable to move one of the orphaned statement blocks back into the "forever" loop using up arrow or left arrow. You can get to it via down arrow or right arrow.

example project to replicate

To Reproduce
Steps to reproduce the behavior:

  1. Edit the linked project
  2. Ensure keyboard controls are switched on
  3. Click on the "pause" or "show number" block
  4. m to enter move mode
  5. up arrow repeatedly to try to move into "forever"
  6. You are unable to move the block into "forever"
  7. Use down arrow and observe there is an additional connection and you can now successfully move inside "forever"

Screen recording
GIF showing the described bug

micro:bit version (please complete the following information):
N/A

Desktop (please complete the following information):

  • OS: Win 11
  • Browser: Firefox

Smartphone (please complete the following information):
N/A

Additional context

Having written this all out, I'm increasingly sure I've seen mention of it on the blockly-keyboard-navigation plugin repo but (a) I can't replicate it there to log the bug there, and (b) I can't find it anything matching in their open or closed issues, so I may have imagined it.

A fix here might just be "update the keyboard nav plugin at some point"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions