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
As I have used d3 more and more, I have written my own collection of functions built on top of d3 and even modularized them, where is when I have come across this issues.
The issue is as follows.
I have a selection (of objects that I am fairly confident have already been added to the DOM), to which I apply a transition (it could even be for 0ms). Some other function - after the transition is invoked - would like to add something to this selection.
However, when I try to select these objects, they do not exist.
I am now aware of the transition end option; however, this does not really solve my problem.
Is there a way to select objects that have a transition and edit the transitioning selection?
Alternatively, is there a way to try and select something and then ask when the selection ends? (after the transition has been invoked?)
I have found that transitions can be quite problematic, when data changes mid transition.
As I have used d3 more and more, I have written my own collection of functions built on top of d3 and even modularized them, where is when I have come across this issues.
The issue is as follows.
I have a selection (of objects that I am fairly confident have already been added to the DOM), to which I apply a transition (it could even be for 0ms). Some other function - after the transition is invoked - would like to add something to this selection.
However, when I try to select these objects, they do not exist.
I am now aware of the transition end option; however, this does not really solve my problem.
Is there a way to select objects that have a transition and edit the transitioning selection?
Alternatively, is there a way to try and select something and then ask when the selection ends? (after the transition has been invoked?)
I have found that transitions can be quite problematic, when data changes mid transition.
Please see the comments here
https://stackoverflow.com/questions/50400352/svg-html-getbbox-and-getboundingclientrect-not-the-same-as-when-hover-over-no/50401806?noredirect=1#comment87884972_50401806
The text was updated successfully, but these errors were encountered: