Giter Site home page Giter Site logo

Comments (2)

DominikDoom avatar DominikDoom commented on September 18, 2024

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.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 18, 2024

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.

from a1111-sd-webui-tagcomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.