Closed Bug 1664170 Opened 4 years ago Closed 4 years ago

Image drag and drop preview is misplaced and "slides" into places in some situations.

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 941356
Webcompat Priority ?

People

(Reporter: denschub, Unassigned)

References

Details

Attachments

(2 files)

Attached file Simplified testcase

A web developer accidentally found a weird edge-case in how we place our image previews while drag-and-dropping an image.

Open the attached test case, scroll down until you see the kitten, then drag the kitten around with your mouse. You will notice that the image preview is placed outside the browser window at first, and then slides into the correct position.

All the CSS and nested elements in the testcase appear to be required. I couldn't minimize this further, and quite frankly, I also don't know what's going on here. I'm filing this within DOMs Drag and Drop, but this could be some UI issue as well?

Also attaching a screen capture, just in case this is not reproducible everywhere.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: