@@ -389,7 +389,9 @@ export class IgxSliderComponent implements
389
389
}
390
390
391
391
this . _continuous = continuous ;
392
- this . setTickInterval ( null ) ;
392
+ if ( this . _hasViewInit ) {
393
+ this . setTickInterval ( null ) ;
394
+ }
393
395
}
394
396
395
397
/**
@@ -457,7 +459,9 @@ export class IgxSliderComponent implements
457
459
// recalculate step distance.
458
460
this . stepDistance = this . calculateStepDistance ( ) ;
459
461
this . positionHandlesAndUpdateTrack ( ) ;
460
- this . setTickInterval ( null ) ;
462
+ if ( this . _hasViewInit ) {
463
+ this . setTickInterval ( null ) ;
464
+ }
461
465
}
462
466
463
467
/**
@@ -503,7 +507,9 @@ export class IgxSliderComponent implements
503
507
// Recalculate step distance.
504
508
this . stepDistance = this . calculateStepDistance ( ) ;
505
509
this . positionHandlesAndUpdateTrack ( ) ;
506
- this . setTickInterval ( null ) ;
510
+ if ( this . _hasViewInit ) {
511
+ this . setTickInterval ( null ) ;
512
+ }
507
513
}
508
514
509
515
/**
@@ -1072,7 +1078,9 @@ export class IgxSliderComponent implements
1072
1078
this . positionHandle ( this . thumbFrom , this . labelFrom , ( this . value as IRangeSliderValue ) . lower ) ;
1073
1079
}
1074
1080
1075
- this . updateTrack ( ) ;
1081
+ if ( this . _hasViewInit ) {
1082
+ this . updateTrack ( ) ;
1083
+ }
1076
1084
}
1077
1085
1078
1086
private closestHandle ( event : PointerEvent ) {
0 commit comments