Opened 8 years ago

Closed 8 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:


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)

testcase.html (1.3 KB) - added by skaterkfbs 8 years ago.
Test case referenced in the description

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by skaterkfbs

Attachment: testcase.html added

Test case referenced in the description

comment:1 Changed 8 years ago by bill

Similar to #17802.

comment:2 Changed 8 years ago by bill

Milestone: tbd1.10
Owner: set to bill
Status: newassigned

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 8 years ago by Bill Keese <[email protected]…>

Resolution: fixed
Status: assignedclosed

In 7a0dd3eddef1a90a6106faec1df64a6f51721757/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.