-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a transition is interrupted, the interrupt event is dispatched immediately (such as within a call to selection.interrupt). This is easier to understand and guarantees that the interrupt event on an interrupted transition is dispatched prior to the start event on an interrupting transition, fixing d3#2140. Calling selection.interrupt repeatedly no longer cancels any scheduled (but inactive) transitions, fixing d3#2141. Calling selection.interrupt when there is no active transition now has no effect. An interrupt event is only dispatched if the active transition is interrupted, and not if a scheduled transition was cancelled, as when a delayed transition is superceded by an earlier transition on the same element. These transitions are cancelled silently, fixing d3#2144. Lastly, transition event listeners now see the latest bound data, rather than using the data that was captured shortly after the transition was scheduled. Fixes d3#2142.
- Loading branch information
Showing
8 changed files
with
179 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.