Conversation
mbostock
left a comment
There was a problem hiding this comment.
Seems correct but I’m curious how the svg.value gets set erroneously in the first place, and what prevents it from subsequently getting set again in the wrong place? (I can investigate this myself by looking at the code, but if you’re willing it would be nice to summarize more of what the underlying cause is here.)
|
The pointer transform initializes svg.value: plot/src/interactions/pointer.js Line 182 in 00610bb it dispatches here before we actually have a figure: plot/src/interactions/pointer.js Line 129 in 00610bb Once the figure has replaced the svg, the value is dispatched correctly. |
closes #2045