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

[Bug]: Prompt in textarea cannot be drag and drop since 1.9.0 #15645

Open
4 of 6 tasks
xdejiko opened this issue Apr 27, 2024 · 3 comments · May be fixed by #15657
Open
4 of 6 tasks

[Bug]: Prompt in textarea cannot be drag and drop since 1.9.0 #15645

xdejiko opened this issue Apr 27, 2024 · 3 comments · May be fixed by #15657
Labels
bug Report of a confirmed bug

Comments

@xdejiko
Copy link

xdejiko commented Apr 27, 2024

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

drag and drop prompt text in textarea is not working since 1.9.0rc, it's work at 1.8.0

Steps to reproduce the problem

  1. Type "masterpiece, highly details, ultra quality" in prompt
  2. Select masterpiece and drag it between "highly details" and "ultra quality"
  3. Nothing happened

What should have happened?

"masterpiece" between "highly details" and "ultra quality"

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

sysinfo-2024-04-27-20-12.json

Console logs

dragdrop.js?1713798036.0:97 
GET https://127.0.0.1:8080/masterpiece 404 (Not Found)
(anonymous) @ dragdrop.js?1713798036.0:97
dragdrop.js?1713798036.0:99 Error fetching URL: masterpiece 404
(anonymous) @ dragdrop.js?1713798036.0:99

Additional information

No response

@xdejiko xdejiko added the bug-report Report of a bug, yet to be confirmed label Apr 27, 2024
@missionfloyd
Copy link
Collaborator

missionfloyd commented Apr 28, 2024

Prompts can also be reordered with Alt+Left/Right.

@w-e-w
Copy link
Collaborator

w-e-w commented Apr 28, 2024

my guess this is the cause

irrc this was to support drag drop image as input in some browsers like firefox

@missionfloyd missionfloyd added bug Report of a confirmed bug and removed bug-report Report of a bug, yet to be confirmed labels Apr 28, 2024
@xdejiko
Copy link
Author

xdejiko commented Apr 28, 2024

Prompts can also be reordered with Alt+Left/Right.

True but using mouse more accuracy and quicker for long prompt.

my guess this is the cause

irrc this was to support drag drop image as input in some browsers like firefox

Correct, the console logs shown it caused by dragdrop.js

@missionfloyd missionfloyd linked a pull request Apr 29, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of a confirmed bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants