Ticket #4391 (closed bug: fixed)

Opened 18 months ago

Last modified 15 months ago

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:

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

ui.slider.4391.diff Download (0.9 KB) - added by vitch 18 months ago.

Change History

Changed 18 months ago by scott.gonzalez

Functional specs should be updated as well.

Changed 18 months ago by vitch

Changed 18 months ago by vitch

Added simple patch.

Changed 18 months 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?

Changed 17 months ago by scott.gonzalez

  • milestone changed from TBD to 1.8

Changed 17 months ago by rdworth

  • priority changed from minor to critical
  • status changed from new to closed
  • resolution set to fixed

Fixed in r2430

Changed 15 months ago by rdworth

  • milestone changed from 1.8 to 1.7.2
Note: See TracTickets for help on using tickets.