Skip to content

FuzzySearchPopover: use native keynav features - #1789

Merged
jeremypw merged 2 commits into
masterfrom
danirabbit/fuzzysearch-keynav
Aug 11, 2026
Merged

FuzzySearchPopover: use native keynav features#1789
jeremypw merged 2 commits into
masterfrom
danirabbit/fuzzysearch-keynav

Conversation

@danirabbit

Copy link
Copy Markdown
Member
  • Use psuedo selectors to style keyboard focused row
  • selection_mode = BROWSE because we want always one selected item
  • DO NOT set can_focus false without an extremely good reason! This is almost always a bad idea and breaks a11y
  • Use Gdk.EVENT constants
  • Use move_cursor and built-in functions like TAB_BACKWARD

@danirabbit
danirabbit requested a review from a team August 10, 2026 22:06

@jeremypw jeremypw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Much better and fixes a bug in keyboard navigation I noticed before.

@jeremypw
jeremypw enabled auto-merge (squash) August 11, 2026 09:32
@jeremypw
jeremypw merged commit 110b86a into master Aug 11, 2026
6 checks passed
@jeremypw
jeremypw deleted the danirabbit/fuzzysearch-keynav branch August 11, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants