Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pops up with quality tag suggestions when not typing in text box #233

Closed
Casuallynoted opened this issue Sep 10, 2023 · 2 comments
Closed

Comments

@Casuallynoted
Copy link

Casuallynoted commented Sep 10, 2023

Ever since the 1.6 UI update, it's been pulling up 1-2 autocomplete boxes in the positive and negative prompts boxes, even when I'm not actively selecting them or typing anything. They'll stay there until I click in the box or click one of the prompts, and then quickly come back moments later.
image

Update: Seems to be it playing poorly with the tag auto format extension. This one prefers that the set of tags end in a comma, while auto format does not like that and removes the final comma.

@DominikDoom
Copy link
Owner

Ah, that makes sense. The script listens to textbox input to show the popup, so it probably reacts to the auto formatter editing the content.

You can turn off the comma addition in the tag autocomplete settings, maybe that helps. By default it will always append comma and space to make writing long chains faster, but you can turn them off separately.

@DominikDoom
Copy link
Owner

I think I was able to resolve it properly. Autocomplete will now ignore all input events that don't include an input type, which will only happen for events triggered from code like the formatter, but not for user input like adding, removing, copy-pasting etc.
The only manual exception being tag autocomplete's own update event, so it can react to the completion if needed, like for wildcards.

So for normal typing and editing the prompt there should be no difference, but the popup will no longer erroneously open after third party extension edits.

This issue was closed.
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

No branches or pull requests

2 participants