[regression] Button: Enter key won't submit form with dijit.form.Button as the submit button in Chrome
According to <http://code.google.com/p/chromium/issues/detail?id=45549> Chrome won't let the enter key submit the form if the submit button has display:none
.
Sadly this is exactly what happens with dijit.form.Button
. Using visibility:hidden !important;position:absolute !important;left:-10000px !important;
fixed it for me, but I'm not sure how this affects other browsers / accessibility.
Change History (8)
Milestone: |
tbd →
1.5
|
Status: |
new →
assigned
|
Summary: |
Enter key won't submit form with dijit.form.Button as the submit button in Chrome →
[regression] Button: Enter key won't submit form with dijit.form.Button as the submit button in Chrome
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Resolution: |
fixed
|
Status: |
closed →
reopened
|
Resolution: |
→ fixed
|
Status: |
reopened →
closed
|
Component: |
Dijit →
Dijit - Form
|
Good catch. CSS like
left: -10000px
tends to break RTL mode buttop: -10000px
is OK.