menu view's submenu will closed when slowly move mouse to the submenu.

see here:
http://webix.com/snippet/e125735f

when we move mouse from the main menu item slowly to the popup submenu, when mouse on the top gap between the main menu and the popup submenu, the popup submenu will close,
because [submenu@$submenu1] event:onmouseout is called, i think this is not good!

thanks!.

marked

For now, it’s a normal behavior. Technically, a submenu is a list within a popup. mouseOut (as well as all interactions with the submenu) is detected for this list, so the ‘gap’ includes a popup border too.

The only way to avoid it is to eliminate all borders. A quick sample:
http://webix.com/snippet/961bf8a7

hi, thanks for your replay.
but I don’t thinks this is a normal behavior, it is a bug, because i don’t see this problem in other menu widget.

for example :
http://www.phoronix.com/scan.php?page=home
on this page, the “CATEGORIES” submenu is a list within a popup too ,and has a ‘gap’ too, but when move the mouse between the main menu item and the popup submenu, everything is ok.

and your quick sample http://webix.com/snippet/961bf8a7 still have the same problem too.
though there has no gap, but when move the mouse from the popup submenu up to the main menu item, the popupmenu still closed too, and then opend again, this is not good.

and another problem is when popup has paddings, when move mouse to the four padding/edges(the gap between the popup’s border and the popup menuitem’s border) of the popup submenu, the submenu will closed too, see http://webix.com/snippet/6e4ce308.

thanks!

We do not plan to change this behavior. By the way, there’s another solution.

You can specify mouseEventDelay for the submenu. It won’t affect theclick event:

http://webix.com/snippet/4842bf4a

I see, thanks!