Open Bug 1629578 Opened 5 years ago Updated 5 years ago

setDragImage does not apply on first drag

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)

74 Branch
defect

Tracking

()

Tracking Status
firefox-esr68 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- affected
firefox77 --- affected

People

(Reporter: sanbornh, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

Steps to reproduce:

  1. Open https://codepen.io/sanbornhilland/pen/XWmbGJx
  2. Drag the div that says "Drag Me First"
  3. Drag image should be the big buck bunny video
  4. Drag the div that says "Drag Me Second"
  5. No Image is shown
  6. Drag the same div again
  7. Firefox logo will be shown

Actual results:

The drag image behaves correctly in all cases except for the first time that the div containing the image is dragged.

Expected results:

The drag image should always be shown when dragging.

Note that this behaves correctly in Chrome and Safari.

I also tried in Firefox 76.0a1 (2020-03-27) (64-bit) and it does not work there either.

Blocks: 1552814
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Drag & Drop
Ever confirmed: true
Product: Firefox → Core

Resetting severity to default of --.

The priority flag is not set for this bug.
:enndeakin, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(enndeakin)
Flags: needinfo?(enndeakin)
Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.