Bug 237446

Summary: Drag image from twitter is incorrect
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: a_protyasha, j_irwin, karlcow, sthompson2, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Oliver Hunt 2022-03-03 13:59:15 PST
When dragging an image from twitter the drag image is incorrect. The correct image is dragged, but the image used for the drag itself is wrong.

Steps:

1. Go to https://twitter.com/dog_rates/status/1499168931671511045/photo/2
2. Click the preview image to get the full sized image
3. drag the image

The drag image seems to be a rendering of the content of the side bar next to the image
Comment 1 Wenson Hsieh 2022-03-04 09:24:27 PST
Interesting — seems to stop happening if I remove `draggable=true` from the (transparent) image element...
Comment 2 Radar WebKit Bug Importer 2022-03-10 14:00:16 PST
<rdar://problem/90120656>
Comment 3 James Irwin 2022-11-16 20:32:55 PST
I believe this is the same bug I'm running into, submitted on SO here:

https://stackoverflow.com/questions/74454155/safari-dragging-element-is-picking-up-text-of-overlapping-elements
Comment 4 Abrar Rahman Protyasha 2023-12-07 21:43:42 PST
*** Bug 266025 has been marked as a duplicate of this bug. ***