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!
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.
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.