Skip to main content

Search and Top Navigation

#4391 closed bug (fixed)

Opened March 22, 2009 07:54PM UTC

Closed April 02, 2009 12:11AM UTC

Last modified June 12, 2009 12:39PM UTC

ui-state-hover, ui-state-active and disabled sliders

Reported by: vitch Owned by:
Priority: critical Milestone: 1.7.2
Component: ui.slider Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

When hovering over a ui-slider which has been disabled ui-state-hover shouldn't be applied. This corresponds to the behaviour of native HTML form controls when disabled.

Additionally, you can still currently tab to the handle in a disabled slider (although you can't move it). When you tab to it it gets ui-state-active applied. You shouldn't be able to tab to it (so the behaviour is the same as disabled form controls).

Attachments (1)
Change History (7)

Changed March 22, 2009 11:39PM UTC by scottgonzalez comment:1

Functional specs should be updated as well.

Changed March 23, 2009 05:40PM UTC by vitch comment:2

Added simple patch.

Changed March 23, 2009 08:53PM UTC by Cloudream comment:3

$(".ui-state-focus",this).removeClass('ui-state-focus');

vs

$(".ui-slider .ui-state-focus").removeClass('ui-state-focus');

Remove class from this slider's? Or all sliders' on the page?

Changed March 27, 2009 09:04PM UTC by scottgonzalez comment:4

milestone: TBD1.8

Changed April 02, 2009 12:10AM UTC by rdworth comment:5

Changed April 02, 2009 12:11AM UTC by rdworth comment:6

priority: minorcritical
resolution: → fixed
status: newclosed

Fixed in r2430

Changed June 12, 2009 12:39PM UTC by rdworth comment:7

milestone: 1.81.7.2