Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8559 closed bug (fixed)

Button: Button doesn't remove active state when using keyboard.

Reported by: alistaircobalt Owned by: mikesherov
Priority: minor Milestone: 1.10.0
Component: ui.button Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:

Description

When the click event of the button changes focus to another element, and the button is clicked using the keyboard (ie. hitting ENTER), the button remains in the "active" state. Example below:

http://jsfiddle.net/Wtwkx/

  1. Focus on the text box.
  2. Use TAB to focus on the button.
  3. Hit ENTER to click the button.
  4. Note that "active" button state is not removed, even though focus has changed back to the text box.

Change History (6)

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

Milestone: 1.9.01.11.0

comment:2 Changed 7 years ago by petersendidit

Status: newopen
Summary: Button doesn't remove active state when using keyboard.Button: Button doesn't remove active state when using keyboard.

comment:3 Changed 7 years ago by mikesherov

Owner: set to mikesherov
Status: openassigned

comment:5 Changed 7 years ago by Mike Sherov

Resolution: fixed
Status: assignedclosed

Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.

Changeset: f13b5dfa7fdb480b818cfbf07e35088460e7b5c9

comment:6 Changed 7 years ago by mikesherov

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