EasyUI Forum

General Category => General Discussion => Topic started by: ryupanqui on May 23, 2014, 08:42:28 PM



Title: menu improvement: Increase the delay time to hide the menu
Post by: ryupanqui on May 23, 2014, 08:42:28 PM
I suggest add a menu property to define the delay time in milliseconds to hides the menu when mouse exits it, default in 100. Something like 'delayOnHideMenu' property:

Code:
.bind("mouseleave.menu", function() {
if (_3b7.options.hideOnUnhover) {
_3b7.timer = setTimeout(function() {
_3b8(_3b6);
// - BEGIN EDIT
}, _3b7.options.delayOnHideMenu);
//},100);
// - END EDIT
}
});