Ticket #5178 (closed bug: fixed)
Slider's change event fires on slide
| Reported by: | vmx | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.8 |
| Component: | ui.slider | Version: | 1.8rc1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When you attach a callback to the sliders "change" event (.slider({change: function() {/*idosomething*/}});) it is called on every move of the slider, just like the "slide" event. It's not the expected behaviour that it only fires when the value changed.
It's a regression, it works in UI 1.7.2.
To see the problem, replace the "slide" callback in the steps demo with "change".
Attachments
Change History
Changed 3 years ago by vmx
-
attachment
ui-slider-change.patch
added
Note: See
TracTickets for help on using
tickets.


Don't fire change event on slide