You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The drag layer is not a child element of the workspace.getSvgGroup() element where we were previously attaching the event listener. If the drag layer captures an event, it will be bubbled up, but the svg group won't get it because it's not a parent of that element.
Before the change in 7999, the drag layer wasn't capturing events. After that change, it does capture events (including, apparently, wheel events despite the name of the css property).
So the scroll option plugin should put its event listener directly on the drag layer.
So consider this issue to be that core should provide a getter for the drag layer. for now in scroll-options i can get the layer through query selectors.
Hiya @bsampada7 I don't think we quite know how we want this to work yet. The list of help wanted issues is probably a better place to look for things to work on! Let me know if there's something specific you're interested in and I can try to match you with an issue =)
Check for duplicates
Description
title
this is needed for scroll-options to work
Reproduction steps
Attach this event listener to the playground in core:
open the console
scroll the mouse wheel, observe the logs
pick up a block to drag it
scroll the mouse wheel, observe the lack of logs
Stack trace
No response
Screenshots
No response
Browsers
No response
The text was updated successfully, but these errors were encountered: