#15793 closed defect (fixed)
[regression] TitlePane: cannot toggle via ENTER key (IE9)
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.7.6 |
Component: | Dijit | Version: | 1.8.0rc1 |
Keywords: | Cc: | Kris Zyp | |
Blocked By: | Blocking: |
Description
TitlePane will toggle via click or SPACE key, but not ENTER key. Works in 1.7 but fails on trunk.
Change History (9)
comment:1 Changed 9 years ago by
Cc: | Kris Zyp added |
---|---|
Milestone: | tbd → 1.8 |
Status: | new → assigned |
comment:3 Changed 8 years ago by
On further inspection, I think that when TitlePane was using the synthetic onkeypress event, it was failing because of the <button> nodes in the test file. Seems that since those nodes don't have a type specified, they default to type=submit, which somehow blocks the native keypress event from occurring. It just happened to work before #14954 was fixed because there was still the faux event created by the dojo.connect() code's synthetic keypress event.
The change to use keydown rather than keypress is an improvement anyway since it would have been needed for the 2.0 transition, where we drop dojo.connect(), but it wasn't necessary to fix the problem, since it was more of a problem with the test case.
comment:6 Changed 8 years ago by
This was working in 1.6 and 1.7 branches so doesn't need to be backported.
comment:7 Changed 8 years ago by
comment:9 Changed 7 years ago by
Milestone: | 1.8 → 1.7.6 |
---|
Another problem caused by the issue with dojo.connect()'s synthetic keypress event on IE9, see #15709. I will workaround it in the same way as I did there.