Skip to content

Tree sidebar keyboard: visible focus when tabbing in, Tab lands on the first match, one clear button - #276

Merged
broisnees merged 1 commit into
nightlyfrom
tree-keyboard
Nov 17, 2026
Merged

broisnees merged 1 commit into
nightlyfrom
tree-keyboard

Conversation

@broisnees

Copy link
Copy Markdown
Collaborator

Driven with the keyboard in the real app (WebKitGTK):

  • No visible focus after Tab / Shift+Tab into the tree. The focus ring only appeared after an arrow key, so tabbing back into the tree put focus on a row nobody could see. Keyboard focus (not a click) now shows the ring on the selected row at once, and picks the first row if none is selected.
  • Tab from a search landed on the old row. After moving to a row and going back to the search box, Tab returned to that row instead of the first match for what was typed. It now always goes to the first match while a filter is set.
  • Two clear buttons on Linux. WebKitGTK drew its native search clear icon (⌫) beside Stroke's own ✕; appearance: none doesn't hide it there, display: none does.

svelte-check, design-lint and the 1799 tests pass.

@broisnees
broisnees merged commit 0b9f309 into nightly Nov 17, 2026
1 check passed
@broisnees
broisnees deleted the tree-keyboard branch November 17, 2026 05:36
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant