#5420 closed bug (notabug)
Input type = submit || button retains ui-state-focus after being clicked
Reported by: | simshaun | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.button | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This may or may not be a bug, does does lead to some quirky issues.
Its similar to 5265
When clicking an input thats been converted into a button, it retains the ui-state-focus class.
The problem occurs when using it in a form that has JS validation. If validation fails, error messages are displayed and the form is kept from submitting, but the button retains its "focused" state even after clicking on a different field.
Attachments (2)
Change History (5)
Changed 13 years ago by
Attachment: | inactive.gif added |
---|
comment:1 Changed 13 years ago by
I forgot to note that the behavior mentioned can be seen in the demo as well.
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is correct behavior. The button does have focus. You can verify this by pressing enter and watching the button get depressed or by logging out document.activeElement.
Inactive state