d3 / d3-drag

Drag and drop SVG, HTML or Canvas using mouse or touch input.
https://d3js.org/d3-drag
ISC License
333 stars 61 forks source link

drag().on("init") #72

Closed Fil closed 4 years ago

Fil commented 4 years ago

fixes https://github.com/d3/d3-drag/issues/67

"init" is dispatched after the initial setup, so we can "undo" the styles etc.

Fil commented 4 years ago

Another approach will be needed, for the time being see https://github.com/d3/d3-drag/issues/67#issuecomment-649075255