Skip to content
Permalink
Browse files

Slider: Modified handle and scroll content not to jump twice when han…

…dle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked.
  • Loading branch information...
skeetergraphics authored and scottgonzalez committed Nov 19, 2010
1 parent 8bb412d commit 0c3e56dd7d82e889ffabc606fd66d47f3e2d27c8
Showing with 3 additions and 1 deletion.
  1. +3 −1 ui/jquery.ui.slider.js
@@ -309,7 +309,9 @@ $.widget( "ui.slider", $.ui.mouse, {
( parseInt( closestHandle.css("marginTop"), 10 ) || 0)
};

this._slide( event, index, normValue );
if ( !this.handles.hasClass( "ui-state-hover" ) ) {
this._slide( event, index, normValue );
}
this._animateOff = true;
return true;
},

1 comment on commit 0c3e56d

@scottgonzalez

This comment has been minimized.

Copy link
Member

commented on 0c3e56d Dec 10, 2013

@skeetergraphics Can you please sign our CLA?

Please sign in to comment.
You can’t perform that action at this time.