When click the slider label or bg then scrolling is not skipped.
This patch fix this problem. (N_SE-19080)
Change-Id: Ia3021f4c4331f7972bf0f1f37d303ee2b63c8a3f
target.is( '.ui-btn-inner' ) ||
target.is( '.ui-btn-inner .ui-icon' );
- if ( this._is_button ) {
- if ( target.parents('.ui-slider-handle').length ||
- target.is('.ui-slider-handle') ) {
- this._skip_dragging = true;
- return;
- }
+ /* should prevent the default behavior when click the slider */
+ if ( target.parents('.ui-slider').length || target.is('.ui-slider') ) {
+ this._skip_dragging = true;
+ return;
}
/*