Bug 237446 - Drag image from twitter is incorrect
Summary: Drag image from twitter is incorrect
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 266025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-03 13:59 PST by Oliver Hunt
Modified: 2023-12-07 21:45 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***