You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.
Hi @sheikalthaf,
When changing the value for the input moveToSlide, jumping to the first slide with index 0 doesn't work.
I assume this is because 0 gets evaluated as falsy when using logical operators.
In ngx-carousel.components.ts, line 253:
Changing line 255 to:
this.moveToSlide != null &&
would solve the problem.Did you have something special in mind, when writing this code, or is this maybe a bug?
The text was updated successfully, but these errors were encountered: