Skip to content

fix: Adjust keyboard navigation of external inputs#9820

Merged
gonfunko merged 3 commits intov13from
revised-nav
May 6, 2026
Merged

fix: Adjust keyboard navigation of external inputs#9820
gonfunko merged 3 commits intov13from
revised-nav

Conversation

@gonfunko
Copy link
Copy Markdown
Contributor

@gonfunko gonfunko commented May 6, 2026

The basics

The details

This PR adjusts the behavior of keyboard navigation on blocks, particularly those with external inputs. Previously, every empty external input or block connected to an external input was treated as being on its own row, so that pressing the up/down arrows would move focus to the next "row". For example, in this screenshot, pressing up would focus the empty "if true" input, then the "if false" input on the most-deeply-nested ternary block, and so forth.
Screenshot 2026-05-06 at 9 19 13 AM

Now, rows are demarcated solely by (a) next/previous connections (b) separate block stacks, and (c) statement inputs. All nested blocks/inputs/fields inside a block that has a next/previous connection, is a root block, or is part of a clause of a block that has statement inputs are treated as being on its same row. Thus, up arrow in the screenshot above would take you to the previous block stack. Nested inputs/blocks may be visited via the left and right arrows.

@gonfunko gonfunko requested a review from a team as a code owner May 6, 2026 17:36
@gonfunko gonfunko requested a review from maribethb May 6, 2026 17:36
@github-actions github-actions Bot added the PR: fix Fixes a bug label May 6, 2026
Copy link
Copy Markdown
Contributor

@maribethb maribethb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion for the tsdoc: s/visual/logical when you describe "rows" since they aren't really visual anymore but more a logical grouping of things

@gonfunko gonfunko merged commit ea0479e into v13 May 6, 2026
7 of 8 checks passed
@gonfunko gonfunko deleted the revised-nav branch May 6, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants