Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transition.append? #42

Open
mbostock opened this issue May 12, 2016 · 2 comments
Open

transition.append? #42

mbostock opened this issue May 12, 2016 · 2 comments
Labels

Comments

@mbostock
Copy link
Member

It could create a placeholder node object that is materialized and appended to the parent when the transition starts, a bit like enter nodes. Or even simpler, it creates the DOM node immediately, but doesn’t append it to the DOM until the transition starts. That might perform well enough…

(If we use placeholder objects rather than elements, we’d need to make sure chained transition.append worked, of course, and define the behavior if a child transition starts before the parent transition. In that case, the child nodes are probably off-screen?)

@mbostock mbostock self-assigned this May 12, 2016
@mbostock
Copy link
Member Author

This would imply that you couldn’t re-select the appended nodes until the transition starts, but that seems like a reasonable compromise.

@mbostock mbostock removed their assignment Jun 24, 2016
@mbostock mbostock changed the title What if transition.append? transition.append? Nov 17, 2019
@Fil Fil added the idea label Aug 23, 2020
@theiliad

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants