[Webkit-unassigned] [Bug 134555] :hover state sticks after a drag-and-drop
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 29 07:03:56 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=134555
--- Comment #8 from Orangetronic <david at orangetronic.com> ---
(In reply to Orangetronic from comment #7)
> Anybody else who lands here looking for a work around, i've found this works:
>
> ```
> for (const child of document.body.children) {
> document.body.replaceChild(child, child) }
> ```
>
> hope that saves somebody a bit of headache!
Lol this no longer works as a mitigation in latest Chrome (131.0.6778.86) & Safari (18.x)
I'm not having to work around this using a more targeted class name shuffle in my drag-end event to suppress hover styles etc until the user next moves the mouse.
It looks like styles are getting computed against the mouse position from the start of the drag/drop event post-drop.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241129/9681f3f5/attachment.htm>
More information about the webkit-unassigned
mailing list