Skip to content

Fix dropdown dissappearing on first selection on quick tags mode #137

Open
RisPNG wants to merge 2 commits intomaxmarcon:mainfrom
RisPNG:quick_tags-mode-fix-dropdown
Open

Fix dropdown dissappearing on first selection on quick tags mode #137
RisPNG wants to merge 2 commits intomaxmarcon:mainfrom
RisPNG:quick_tags-mode-fix-dropdown

Conversation

@RisPNG
Copy link
Copy Markdown

@RisPNG RisPNG commented Feb 20, 2026

Issue refer to #136.

In quick_tags mode, instead of forcing the setting hide_dropdown to true on blur, it makes sure to persist the state of hide_dropdown.

However, solving it this way alone introduces a new issue where when blur is triggered in quick_mode by user intention (clicking outside the field or dropdown), the dropdown won't close, so I added a new self_blur handle event that sets the hide_dropdown to true as the original code and an event listener that checks whether the field has been unfocused to then calls self_blur to restore this intended behaviour.

Here is the video showing before:

Screencast.From.2026-02-20.10-45-21.mp4

and after:

Screencast.From.2026-02-20.11-02-33.mp4

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