Skip to content

fix: reset autocomplete state when switching input modes#755

Merged
dlvhdr merged 1 commit intodlvhdr:mainfrom
sideshowbarker:fix/751-autocomplete-leak
Jan 28, 2026
Merged

fix: reset autocomplete state when switching input modes#755
dlvhdr merged 1 commit intodlvhdr:mainfrom
sideshowbarker:fix/751-autocomplete-leak

Conversation

@sideshowbarker
Copy link
Contributor

Summary

  • Adds a Reset() method to the autocomplete component that clears all state including filtered suggestions, selection, and visibility flags
  • Calls Reset() when entering commenting, assigning, or unassigning modes to prevent stale suggestions from labeling mode from leaking into other input modes
  • Adds regression tests to verify the fix

Fixes #751

Adds a Reset() method to the autocomplete component that clears all state
including filtered suggestions, selection, and visibility flags. This method
is now called when entering commenting, assigning, or unassigning modes to
prevent stale suggestions from labeling mode from leaking into other input
modes.

Fixes dlvhdr#751
@dlvhdr dlvhdr merged commit c18425d into dlvhdr:main Jan 28, 2026
3 checks passed
@sideshowbarker sideshowbarker deleted the fix/751-autocomplete-leak branch January 29, 2026 01:21
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.

[BUG] Comment inputbox autocompletes labels with enter/tab

2 participants