mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-11-05 00:17:25 +00:00
[GH-ISSUE #133] Escape key unfocuses textarea in Firefox #97
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#97
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?
Originally created by @Kenqr on GitHub (Mar 5, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/133
In Firefox, if you press escape key when focusing a textarea, it will lose focus.
I guess calling
event.preventDefault()would fix this problem.@DominikDoom commented on GitHub (Mar 5, 2023):
As you can see here, this is already the case:
github.com/DominikDoom/a1111-sd-webui-tagcomplete@d1fff7bfa7/javascript/tagAutocomplete.js (L775)Also, I can't reproduce what you said, it doesn't happen to me on Firefox 110.0.1 and stays focused after the window closes. As a matter of fact, I can't even get it to lose textbox focus at all by pressing escape, even if the completion window is closed.
@Kenqr commented on GitHub (Mar 6, 2023):
Sorry, I think it is because I have Vimium installed.
Adding my webui URL to the excluded URL list solved the problem.