Ticket #7837 (closed bug: worksforme)
Slider Value Off By One When Changing Directions
|Reported by:||lyden||Owned by:|
After a slide event is fired, the slider returns the wrong value if the handle has just changed directions. If a default horizontal slider is increased to value 50, then pulled one step to the right, the value correctly increases to 51. If the slider is then pulled one step to the left, the value will INCREASE to 52. If the slider is then pulled another step to the left, the value will decrease to 51 and continue decreasing as long as the slider continues to be pulled to the left. The opposite also holds true. If a default horizontal slider decreased to value 50, then pulled one step to the left, the value correctly decreases to 49. If the slider is then pulled one step to the right, the value will DECREASE to 48 and then will increment normally as it's continued to be pulled to the right. Consequently, it's possible to slide one step left to INCREMENT by one, and then slide one step right to DECREMENT by one. This behavior is particular to the slide event. The change and stop events function as expected. This was noted in a minimalist test using both the latest versions of Chrome and Firefox on Windows 7.