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 0c3e56d
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skeetergraphics Can you please sign our CLA?

Please sign in to comment.