Opened 7 years ago
Closed 7 years ago
#17808 closed defect (fixed)
dojox/form/CheckedMultiSelect - Causes conflict with dijit/form/Select hiding its drop-down options
Reported by: | skaterkfbs | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.10 |
Component: | DojoX Form | Version: | 1.9.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If the drop-down options from a dijit/form/Select are open and you click a checkbox or radio button inside a dojox/form/CheckedMultiSelect, the dijit/form/Select options do not hide.
I'm attaching an example of this issue.
I found that overriding the _onMouseDown event to no longer call event.stop seems to correct the issue, but I'm not sure what tests may fail due to that change.
Attachments (1)
Change History (4)
Changed 7 years ago by
Attachment: | testcase.html added |
---|
comment:2 Changed 7 years ago by
Milestone: | tbd → 1.10 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
That event.stop() call is from f235a41b05a0d0481a6a8cf7de2262b3801550cf aka [13029].
It's unclear what Nathan meant about "stealing focus". The <input> nodes themselves are already focusable but the label nodes (which are actually <div> nodes) are not, so probably the issue was that clicking a label would send focus to <body>. In any case changing evt.stop() to e.preventDefault() doesn't seem to have any side effects, so I'll do that.
comment:3 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Test case referenced in the description