angular-slider / angularjs-slider

Slider directive for AngularJS 1.X. No dependencies and mobile friendly.
http://angular-slider.github.io/angularjs-slider
MIT License
1.23k stars 498 forks source link

slider does not handle correctly if "vertical" option changes runtime #649

Closed nebulaszlonemethi closed 5 years ago

nebulaszlonemethi commented 6 years ago

Steps to reproduce

  1. Setup a horz. slider
  2. Toggle the "vertical" option on-off, even together with broadcasting the "rzSliderForceRender" event

Demo: http://jsfiddle.net/nlac73/qnku3d8y/

Expected behaviour

The slider should be toggling between horizontal-vertical state

Actual behaviour

The slider does not switch back to horizontal state while toggling the option, it remains vertical.

ValentinH commented 5 years ago

Fix will be released in 7.0.0