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

Listeners must recompute ancestor data. #27

Closed
mbostock opened this issue May 22, 2015 · 0 comments
Closed

Listeners must recompute ancestor data. #27

mbostock opened this issue May 22, 2015 · 0 comments

Comments

@mbostock
Copy link
Member

Currently we only recompute the target element’s data, but we should recompute the data for all ancestors, too. This means that listeners need to capture not the data, but the parent nodes and indices.

gmaclennan pushed a commit to gmaclennan/d3-selection that referenced this issue May 24, 2015
And then recompute ancestor data on events. Fixes d3#27.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant