Skip to content

Non transparent background on drag image #184

@acurrieclark

Description

@acurrieclark

I am seeing an issue on iOS where, if I set a drag image using setDragImage(svgImageElement), the background of the drag image is filled in white.

DragImage.video.mp4

The included video is the result of me initiating a drag and then releasing it in the same spot a few seconds later. It has been slowed down slightly to allow you to see what is happening. The svg is a small white box with some text behind.

What is doubly odd, is that when the drag image is added, the image itself (the svg with the transparent background) fades in first, then the white background follows.

I have been trying to find where in the codebase this might be happening, but I am struggling to narrow it down. I would be most grateful for some pointers.

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions