mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-21 03:01:27 -03:00
ed7cf418b4
The one-time dropdown Tip ('type /activefilters ...') was inserted while the
active-filters search was OFF and then stuck around: _maybeShowFirstRunHint
bailed out while a hint element existed, so toggling the search ON from the
node's filter chip (which can keep the dropdown open in ComfyUI) left the
enable-hint visible even though the feature was now active.
- _maybeShowFirstRunHint now removes any existing hint and recomputes from the
live setting on every dropdown render, so a Tip is never kept for the
previous state.
- AutoComplete listens for the lora-manager:setting-toggled window event and
refreshes an open dropdown's state hints (Tip in plain suggestions, footer
text in the slash command list) immediately when the toggle changes, instead
of waiting for the next hide/show cycle.
Regression tests cover: stale Tip removed when toggled ON while the dropdown
stays open (and not resurrected by further typing), and the command-list
footer flipping to ON.