Search code examples
angularangular-material2

Angular material slider not sliding


I am using mat-slider and, while trying to slide the control using the mouse, it does not slide, either on the left or right. It is only working when I click to a point in the sliding line. My code is:

<div>
    <mat-slider></mat-slider>
</div>

Solution

  • Found the answer here. Basically I imported MaterialModule after BrowserAnimationsModule