Opened 10 years ago

Last modified 2 years ago

#8303 new task

implement onOverEvent/onOutEvent using mouse.enter, mouse.leave

Reported by: bill Owned by: Eugene Lazutkin
Priority: high Milestone: 1.15
Component: DnD Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

Now that dojo's event code supports onmouseenter/onmouseleave on all browsers (it's only supported natively on IE), DnD can take advantage of that feature and remove the (essentially) duplicated code in Container's onmouseover/onmouseout:

var n = e.relatedTarget;
while(n){
	if(n == this.node){ break; }
	try{
		n = n.parentNode;
	}catch(x){
		n = null;
	}
}

Change History (4)

comment:1 Changed 10 years ago by Eugene Lazutkin

Milestone: tbdfuture

Moving open tickets to the future.

comment:2 Changed 7 years ago by bill

Summary: implement onOverEvent/onOutEvent using onmouseenter/onmouseleaveimplement onOverEvent/onOutEvent using mouse.enter, mouse.leave

Now available through dojo/on via the synthetic "enter" and "leave" events in the dojo/mouse module.

comment:3 Changed 3 years ago by dylan

Milestone: future1.12

comment:4 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.