@angular/animations 5.2.7 → 5.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/testing.d.ts +1 -1
- package/browser.d.ts +1 -1
- package/bundles/animations-browser-testing.umd.js +2 -2
- package/bundles/animations-browser-testing.umd.min.js +1 -1
- package/bundles/animations-browser-testing.umd.min.js.map +1 -1
- package/bundles/animations-browser.umd.js +12 -3
- package/bundles/animations-browser.umd.js.map +1 -1
- package/bundles/animations-browser.umd.min.js +4 -4
- package/bundles/animations-browser.umd.min.js.map +1 -1
- package/bundles/animations.umd.js +2 -2
- package/bundles/animations.umd.min.js +2 -2
- package/bundles/animations.umd.min.js.map +1 -1
- package/esm2015/animations.js +1 -1
- package/esm2015/browser/testing.js +1 -1
- package/esm2015/browser.js +11 -2
- package/esm2015/browser.js.map +1 -1
- package/esm5/animations.js +1 -1
- package/esm5/browser/testing.js +1 -1
- package/esm5/browser.js +11 -2
- package/esm5/browser.js.map +1 -1
- package/package.json +2 -2
package/esm5/animations.js
CHANGED
package/esm5/browser/testing.js
CHANGED
package/esm5/browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v5.2.
|
|
2
|
+
* @license Angular v5.2.11
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -4145,7 +4145,16 @@ var TransitionAnimationEngine = /** @class */ (function () {
|
|
|
4145
4145
|
// code does not contain any animation code in it, but it is
|
|
4146
4146
|
// just being called so that the node is marked as being inserted
|
|
4147
4147
|
if (namespaceId) {
|
|
4148
|
-
this._fetchNamespace(namespaceId)
|
|
4148
|
+
var /** @type {?} */ ns = this._fetchNamespace(namespaceId);
|
|
4149
|
+
// This if-statement is a workaround for router issue #21947.
|
|
4150
|
+
// The router sometimes hits a race condition where while a route
|
|
4151
|
+
// is being instantiated a new navigation arrives, triggering leave
|
|
4152
|
+
// animation of DOM that has not been fully initialized, until this
|
|
4153
|
+
// is resolved, we need to handle the scenario when DOM is not in a
|
|
4154
|
+
// consistent state during the animation.
|
|
4155
|
+
if (ns) {
|
|
4156
|
+
ns.insertNode(element, parent);
|
|
4157
|
+
}
|
|
4149
4158
|
}
|
|
4150
4159
|
// only *directives and host elements are inserted before
|
|
4151
4160
|
if (insertBefore) {
|