NEW217515
DataTransfer.setImage is not overriding the default dnd avatar if they are children of draggable element
https://bugs.webkit.org/show_bug.cgi?id=217515
Summary DataTransfer.setImage is not overriding the default dnd avatar if they are ch...
Vishnu
Reported 2020-10-09 06:00:46 PDT
Take a div node which has draggable true is set. And the image tag or anchor tag is children of this div node On drag if we try to override its dragimage it is not getting overridden. This is not happening in Firefox or Chrome. https://jsbin.com/lavohuyabi/1/edit?html,js,console,output
Attachments
Alexey Proskuryakov
Comment 1 2020-10-09 18:13:28 PDT
Looks like the expected behavior is that when dragging the 150x150 image, the dragimage is the 200x200 one. I can reproduce in Safari 14 too.
Radar WebKit Bug Importer
Comment 2 2020-10-09 18:13:40 PDT
Note You need to log in before you can comment on or make changes to this bug.