@ts-core/angular 15.0.57 → 15.0.59
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/bottomSheet/BottomSheetService.d.ts +2 -0
- package/cookie/CookieService.d.ts +2 -2
- package/esm2020/bottomSheet/BottomSheetService.mjs +1 -1
- package/esm2020/cookie/CookieService.mjs +1 -1
- package/esm2020/directive/AutoScrollBottomDirective.mjs +3 -2
- package/esm2020/directive/ScrollDirective.mjs +2 -3
- package/fesm2015/ts-core-angular.mjs +2 -3
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +2 -3
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1448,7 +1448,7 @@ class ScrollDirective extends Destroyable {
|
|
|
1448
1448
|
//
|
|
1449
1449
|
// --------------------------------------------------------------------------
|
|
1450
1450
|
initialize() {
|
|
1451
|
-
if (this.scrollValue) {
|
|
1451
|
+
if (!_.isNil(this.scrollValue)) {
|
|
1452
1452
|
this.scrollTo(this.scrollValue);
|
|
1453
1453
|
}
|
|
1454
1454
|
this.isInitialized = true;
|
|
@@ -1456,7 +1456,6 @@ class ScrollDirective extends Destroyable {
|
|
|
1456
1456
|
scrollTo(value, behavior) {
|
|
1457
1457
|
this._scrollValue = value;
|
|
1458
1458
|
this.element.scroll({ top: value, behavior });
|
|
1459
|
-
// this.element.scrollTop = value;
|
|
1460
1459
|
}
|
|
1461
1460
|
// --------------------------------------------------------------------------
|
|
1462
1461
|
//
|
|
@@ -1641,7 +1640,7 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
|
|
|
1641
1640
|
//
|
|
1642
1641
|
// --------------------------------------------------------------------------
|
|
1643
1642
|
initialize() {
|
|
1644
|
-
if (this.
|
|
1643
|
+
if (!_.isNil(this.scrollHeight)) {
|
|
1645
1644
|
this._scrollValue = this.scrollHeight;
|
|
1646
1645
|
}
|
|
1647
1646
|
super.initialize();
|