mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[PR #327] [MERGED] Fix SDNext ModernUI by following the cursor #302
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
low priority
low priority
pull-request
question
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DominikDoom/a1111-sd-webui-tagcomplete#302
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/pull/327
Author: @Disty0
Created: 5/5/2025
Status: ✅ Merged
Merged: 5/5/2025
Merged by: @DominikDoom
Base:
main← Head:main📝 Commits (3)
062fea7Cherrypick and cleanup SDNext fixese831fb4Check for scroll too1d67e0cFix wildcards path📊 Changes
3 files changed (+19 additions, -6 deletions)
View changed files
📝
javascript/tagAutocomplete.js(+7 -4)📝
scripts/shared_paths.py(+4 -1)📝
scripts/tag_autocomplete_helper.py(+8 -1)📄 Description
Tagcomplete extension puts the result box below the prompt box. This works with the old UI but this causes the results box to be on top of the prompt box on ModernUI as seen in the example. This PR fixes this issue by making the result box follow the cursor.
This PR is based on the SDNext fix repo with additional scroll check so the result box won't disappear into the abyss if we scroll down in the text box and done more cleanups on the SDNext fix repo so it won't do unnecessary code changes.
Second fix is for the wildcards dir. SDNext allows users to change the wildcards dir and sets the default to
models/wildcardsinstead ofscripts/wildcards. This PR adds a fix for this too.Example of the prompt box covering the prompts:
Prompt box looks like this after this PR:
Also this new behavior continues in the old UI too. Results box now follows the cursor on the old UI too:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.