Wildhoney / ngRangeSlider

Multi-handle range slider utilising the native HTML5 input range elements.
http://ng-range-slider.herokuapp.com/
MIT License
55 stars 11 forks source link

Sliders moving from their position when other slider pushes it #12

Open renilbabu03 opened 8 years ago

renilbabu03 commented 8 years ago

the slider 1 moves from its place when slider 2 moves to left side...Is it possible that that sliders don't change each other's position? I mean slider 1 should not be able to move the slider 2 and vice versa.

Wildhoney commented 8 years ago

Hmm, not really. For ngRangeSlider there's always going to be a concept of a min and max otherwise it doesn't make too much sense.

It's certainly possible to shoehorn in a solution whereby one doesn't affect the other, but it would take an overhaul of the code to relax that restriction.

It'd be great to better understand your requirements – for example, would slider 2 then become the min slider if it passes slider 1 by moving it to the left, as you mentioned? Or would there be absolutely no concept of min and max any more?