ng2-nouislider icon indicating copy to clipboard operation
ng2-nouislider copied to clipboard

Slider randomly disappears after trying a custom behavior

Open sthoman opened this issue 7 years ago • 0 comments

I am trying to evaluate the different behaviors available such as "drag-fixed", per the docs.

As soon as I set a behavior, the slider completely disappears from the UI even though the HTML is still present, and then even if I remove the behavior attribute, it won't re-appear again.

In fact I am noticing random times where the slider inexplicably disappears without any clear error.

In component HTML:

         <nouislider #sliderRef
                [behaviour]="sliderBehaviour"
                [connect]="true" 
                [step]="1" 
                [min]="0" 
                [max]="maximumTimepointValue" 
                [(ngModel)]="sliderRange"   
                (slide)="onSlideTimepoint()">
            </nouislider>

In component.ts:

    sliderBehaviour:string = "drag-fixed"; 

sthoman avatar Aug 31 '17 10:08 sthoman