Bogdan1975 / ng2-slider-component

Angular 2 slider component
MIT License
68 stars 50 forks source link

Start value handle stuck at right most position #6

Open pborunda opened 8 years ago

pborunda commented 8 years ago

If you drag both the end and start handles to the right most position, the start handle cannot be dragged back to a lower position. The end handle is always selected first when the start/end handles overlap.

stijnbollen commented 7 years ago

This is because the end handle is always on top and cannot be lower than the start handle. The cause of your problem is actually the result of a bigger issue: When a user tries to drag the end handle past the start handle, the end handle should get the value of the start handle and the start handle should become the one being dragged en visa versa. This should be a relative easy issue to fix.