Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#4391 closed bug (fixed)

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)

ui.slider.4391.diff (905 bytes) - added by vitch 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by Scott González

Functional specs should be updated as well.

Changed 15 years ago by vitch

Attachment: ui.slider.4391.diff added

comment:2 Changed 15 years ago by vitch

Added simple patch.

comment:3 Changed 15 years ago by Cloudream

$(".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?

comment:4 Changed 15 years ago by Scott González

Milestone: TBD1.8

comment:6 Changed 14 years ago by rdworth

Priority: minorcritical
Resolution: fixed
Status: newclosed

Fixed in r2430

comment:7 Changed 14 years ago by rdworth

Milestone: 1.81.7.2
Note: See TracTickets for help on using tickets.