[Webkit-unassigned] [Bug 226683] New: Wheel event is not fired on a SVG group element in Safari
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 5 08:16:47 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=226683
Bug ID: 226683
Summary: Wheel event is not fired on a SVG group element in
Safari
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 10.14
Status: NEW
Severity: Major
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: xiao.hk1997 at gmail.com
CC: zimmermann at kde.org
I am trying to bind a wheel event listener to a SVG group element with D3. It seems the wheel event is not triggered when I scroll on the group element in Safari (the group is not empty). It works fine on Firefox or Chrome.
For a demo, see this codepen (https://codepen.io/xiaohk/pen/oNZdwoO).
Interestingly, it works as expected if the wheel event listener is bound to the SVG element instead of one <g> element.
For example, see this codepen (https://codepen.io/xiaohk/pen/vYxjZdY)
--
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/20210605/676295cb/attachment.htm>
More information about the webkit-unassigned
mailing list