8000 Transition must evaluate new values immediately. · Issue #37 · d3/d3-transition · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Transition must evaluate new values immediately. #37
Closed
@mbostock

Description

@mbostock

Currently transition.{attr,style,text,…} are built on transition.tween, and they don’t evaluate the new value until the tween is initialized. That’s bad; many examples (such as this one) rely on synchronous evaluation of transition.attr and the like, so that external state can be modified during the initialization of a transition.

I’m not suggesting we change transition.{attrTween,styleTween,tween,…}: those can’t be evaluated until the transition starts, by design. By the transition methods that only compute the destination value must be evaluated earlier.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0