Changes between Initial Version and Version 2 of Ticket #11132


Ignore:
Timestamp:
May 19, 2010, 2:34:00 PM (10 years ago)
Author:
bill
Comment:

The IE problem relates to the mousedown handler in focus.js:

var mousedownListener = function(evt){
	dijit._justMouseDowned = true;
	setTimeout(function(){ dijit._justMouseDowned = false; }, 0);
	dijit._onTouchNode(effectiveNode || evt.target || evt.srcElement, "mouse");
};

When the Select box label is clicked the first time, evt.srcElement points to the <SPAN class="dijitReset dijitInline dijitSelectLabel"></SPAN>. (Not sure why there's no text in there....), but the real problem is that the evt.srcElement.parentNode is the document itself, rather than the Select.domNode.

Looks like a browser bug.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11132 – Description

    initial v2  
    22Run the attached testcase in IE and click the TooltipDialog button.[[BR]]
    33Then click the Select that pops up inside the Dialog.[[BR]]
    4 First problem: the tooltip dialog closes immediately as soon as the Select box is clicked (first time only).[[BR]]
     4First problem: the tooltip dialog closes immediately as soon as the Select box is clicked (first time only).  Problem happens when clicking the label of the Select box, not the arrow.[[BR]]
    55Second problem: on subsequent clicks of the Select box, the Select menu appears but selecting anything or cancelling causes the tooltip dialog to also close.[[BR]]
    66The same behavior can be observed if you substitute a DropDownButton in place of the Select widget.[[BR]]