Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non transparent background on drag image #184

Open
acurrieclark opened this issue Mar 5, 2024 · 0 comments
Open

Non transparent background on drag image #184

acurrieclark opened this issue Mar 5, 2024 · 0 comments

Comments

@acurrieclark
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant