Skip to content

Fix Tab autocomplete action rebinding#270

Merged
Maxteabag merged 1 commit into
mainfrom
fix/tab-autocomplete-action-rebinding
Jul 14, 2026
Merged

Fix Tab autocomplete action rebinding#270
Maxteabag merged 1 commit into
mainfrom
fix/tab-autocomplete-action-rebinding

Conversation

@Maxteabag

Copy link
Copy Markdown
Owner

Follow-up to #267.

  • Honor autocomplete actions rebound to Tab.
  • Add UI regression coverage.

Autocomplete key bindings should keep working when users assign Tab to navigation or closing rather than acceptance. Dispatch the active binding once through Textual's guarded action system before falling back to literal tab insertion.

Constraint: QueryTextArea intercepts Tab before normal key routing
Rejected: Yield the event to bubbling | Textual handlers can process navigation twice
Confidence: high
Scope-risk: narrow
Directive: Keep custom autocomplete bindings ahead of literal Tab insertion
Tested: 15 focused tests; full suite 1716 passed and 646 skipped
Not-tested: Three unrelated baseline failures reproduced on origin/main
Related: #267
@Maxteabag
Maxteabag merged commit 391820b into main Jul 14, 2026
21 checks passed
@Maxteabag
Maxteabag deleted the fix/tab-autocomplete-action-rebinding branch July 14, 2026 17:11
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.

1 participant