Skip to main content

Search and Top Navigation

#8829 closed bug (duplicate)

Opened November 18, 2012 07:43AM UTC

Closed November 18, 2012 07:57PM UTC

Disabling should clear ui-state-hover class

Reported by: ezyang Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.button Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

See http://jsfiddle.net/R8xCe/ (click on the button; expected results: class does not include ui-state-hover; actual result: class contains ui-state-hover)

When a button gets disabled, it should not be treated as being hovered upon. In particular, the onmouseout handler no longer is installed so removing your mouse won't remove the hover state, and if you re-enable the button at a later point, it will be spuriously highlighted. This is bad!

Attachments (0)
Change History (1)

Changed November 18, 2012 07:57PM UTC by scottgonzalez comment:1

component: ui.coreui.button
resolution: → duplicate
status: newclosed

Duplicate of #5295.