MahApps.Metro icon indicating copy to clipboard operation
MahApps.Metro copied to clipboard

NewUpperValue in RangeSlider is wrong

Open guyber opened this issue 3 years ago • 1 comments

Describe the bug

NewUpperValue is not updated correctly in the RangeSelectionChanged event.

Steps to reproduce

RangeSlider set with value 0-9999, when moving the range selection upper value to 14.2% (1/7) of the slider the NewUpperValue shows the value of ~1600, now drag the range so the lower side is on the same position (14.2%) - the value is around ~1400 - seems like the NewUpperValue is driffted for some reason - maybe related o the range between the upper and lower ends - but looks like a bit more complicated issue.

Expected behavior

NewUpperValue & NewLowerrValue values of the same location should be the same

Actual behavior

the values are not the same for the same location

Environment

MahApps.Metro version: v2.0.0
Windows build number: Win10 1909 [Version 10.0.18363.836]
Visual Studio: 2019 16.6.0
Target Framework: .Net Core 3.1 (v4.5.2, v4.7.2)

Screenshots

range slider

guyber avatar Jul 04 '22 13:07 guyber

@guyber I can not reproduce this with the current source (dev). So it's better to create a sample with your issue for better debugging. Thx

punker76 avatar Aug 25 '22 21:08 punker76