Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export default class CSSAnimationsManager implements ICSSAnimationsManager {
}

unmountCleanup(): void {
// noop
// We use setTimeout to ensure that the animation is removed after the
// component is unmounted (it puts the detach call at the end of the event loop)
setTimeout(this.detach.bind(this));
}

private detach() {
Expand Down
Loading