Sygil-Dev / sygil-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
7.86k stars 883 forks source link

[BUG] After First launch, the prompt txt box doesn't auto adjust its size to fit the prompt length, in both t2i and i2i #301

Closed LiJT closed 2 years ago

LiJT commented 2 years ago

Describe the bug After the first time webui launched, the prompt txt box doesn't auto adjust its size to fit the prompt length, until you try to click Submit on enter yes or no button, then the prompt txt box will start to response. I think this is the tiny bug.

To Reproduce Steps to reproduce the behavior:

  1. run webui.cmd
  2. go to http://localhost:7860/
  3. enter any text in the prompt box, no matter how long the txt is, the box won't resize.

Expected behavior The prompt box should be able to resize at any time, in both text2image and image2image. Currently they both not working initially. But t2t can recover itself after random button clicked. In text2image tab, the txt box will recover itself after random button clicked. But in image2image tab, the box wont resize at all

Screenshots t2i_1 Initially its not working properly

t2i_2 After I click this button, the txt box respond and refresh itself back to normal

i2i i2i on the other hand not working at all

hlky commented 2 years ago

Extremely minor UI bug that doesn't particularly need attention right now because entering 1 prompt per line isn't actually implemented yet, the multi line prompt thing is actually just used by people who separate the components of their prompt onto separate lines so they can change it easier.

hlky commented 2 years ago

Ok this should have been fixed with #304

you'll need to wait for the changes to be synced to main repo unless you understand how to update from dev repo -> main repo yourself

Dev repo is set up to be easy for developers so the structure is different.
Changes are synced to main repo.
GitHub Actions puts things in the right places.
If you can't tell where things go check .github/sync.yml