EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: gordis gmbh on December 03, 2020, 01:03:12 PM



Title: Layout collapsible region collapses because of tooltip
Post by: gordis gmbh on December 03, 2020, 01:03:12 PM
The collapsible east region collapses when mouse is moved over the buttons having tooltip.

Please refer the attached screencast and demo:
http://jsfiddle.net/Lvquzyac/1/ (http://jsfiddle.net/Lvquzyac/1/)


Title: Re: Layout collapsible region collapses because of tooltip
Post by: gordis gmbh on December 29, 2020, 10:23:50 AM
Hello EasyUI-admins/developers,

could you please give me a hint to avoid collapsing of region when the mouse is moved over the tooltip?
Thanks for looking into it.


Title: Re: Layout collapsible region collapses because of tooltip
Post by: jarry on December 30, 2020, 01:53:49 AM
Please call the 'stopCollapsing' method while moving the mouse to the tip content. Make sure to download the newest version from the site.
Code:
$('#tt').tooltip({
content: 'tip content',
onShow: function(){
$('#tt').tooltip('tip').on('mouseenter', function(){
$('#layout').layout('stopCollapsing')
})

}
});