@skyux/core 6.9.0 → 6.10.0
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/fesm2020/skyux-core.mjs
CHANGED
@@ -3303,6 +3303,8 @@ class SkyViewkeeperDirective {
|
|
3303
3303
|
}
|
3304
3304
|
ngOnDestroy() {
|
3305
3305
|
this.observer.disconnect();
|
3306
|
+
this.scrollableHostWatchUnsubscribe?.next();
|
3307
|
+
this.scrollableHostWatchUnsubscribe?.complete();
|
3306
3308
|
this.destroyViewkeepers();
|
3307
3309
|
}
|
3308
3310
|
destroyViewkeepers() {
|
@@ -3343,6 +3345,7 @@ class SkyViewkeeperDirective {
|
|
3343
3345
|
if (this.viewkeeperElsChanged(viewkeeperEls)) {
|
3344
3346
|
if (this.scrollableHostWatchUnsubscribe) {
|
3345
3347
|
this.scrollableHostWatchUnsubscribe.next();
|
3348
|
+
this.scrollableHostWatchUnsubscribe.complete();
|
3346
3349
|
this.scrollableHostWatchUnsubscribe = new Subject();
|
3347
3350
|
}
|
3348
3351
|
else {
|