PDA

View Full Version : Menu Close issue



power651113
11 Oct 2013, 7:03 AM
Hi,

When I "mouseover" to the icon, the menu would show up. When my mouse leave to the menu area, the menu would close. When I move to the other icon, the menu would close. However, when I try to move mouse cursor to menu, the menu is close. I know the "mouseleave" event fire before the "mouseenter". Can someone give me some advice? Thank you in advance.

pseudo code:
{
xtype: 'icon1'
listeners
{
mouseenter:
{
create menu and options,
listeners
{
mouseleave: close menu
mouseenter:
}
}
mouseleave:
{
close menu
}
}
}

Gary Schlosberg
14 Oct 2013, 11:49 AM
I'm not able to reproduce this. Can you post a fiddle (https://fiddle.sencha.com/#home) which displays the issue?