generated from cockpit-project/starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 38
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
File icon + file name can be dragged and triggers drag&drop upload overlay #931
Labels
bug
Something isn't working
Comments
Ok so using I'll look into the events if I can somehow tell the difference and not show the overlay on some specific |
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 10, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 11, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 11, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 11, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 11, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 12, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
tomasmatus
added a commit
to tomasmatus/cockpit-files
that referenced
this issue
Feb 14, 2025
fixes: cockpit-project#931 As stated in https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer/types "If any files are included in the drag operation, then one of the types will be the string Files."
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The whole <a ...> element can be dragged which triggers the drag & drop upload overlay.
Dropping the file doesn't seem to upload anything so that's good.
The text was updated successfully, but these errors were encountered: