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 looses responsiveness on zooming and reloading page #669

Closed rmishra7 closed 5 years ago

rmishra7 commented 5 years ago

Steps to reproduce

  1. Drag the slider
  2. Zoom the page to 150%
  3. Reload the page
  4. The slider looses its responsiveness and range becomes distorted

Demo: http://jsfiddle.net/cwhgLcjv/ (fork this example and update the link)

Expected behaviour

It should be responsive despite zooming and on reloading range should not get distorted

Actual behaviour

The slider looses its responsiveness and range becomes distorted img1 img2 img3 img4 img5

ValentinH commented 5 years ago

How are you zooming? I've tried on the demo website and everything is fine.

rmishra7 commented 5 years ago

It's working fine now, Thanks!