EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 20, 2025, 02:35:49 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
dynamically generated tooltip in chrome
Pages: [
1
]
« previous
next »
Print
Author
Topic: dynamically generated tooltip in chrome (Read 8388 times)
devnull
Sr. Member
Posts: 431
dynamically generated tooltip in chrome
«
on:
May 24, 2016, 03:56:46 AM »
Please refer this fiddle:
http://jsfiddle.net/54v8nacp/44/
In Chrome, the tooltip closes when you click on the checkbox and you cannot click a checkbox, in Firefox it works OK
Logged
-- Licensed User --
jarry
Administrator
Hero Member
Posts: 2300
Re: dynamically generated tooltip in chrome
«
Reply #1 on:
May 24, 2016, 08:21:10 AM »
When clicking on the checkbox, the tip object loses focus, so the tip is hidden. Please try to use the 'mouseleave' event instead of 'blur' event.
http://jsfiddle.net/54v8nacp/46/
Logged
devnull
Sr. Member
Posts: 431
Re: dynamically generated tooltip in chrome
«
Reply #2 on:
May 25, 2016, 03:41:36 AM »
Thanks for helping Jarry;
That kind of works, but if the user accidentally hovers over the icon and then does not hover over the tooltip, then the tooltip remains visible.
If the focus() method worked, then it would always disappear as soon as the it lost focus.
Logged
-- Licensed User --
jarry
Administrator
Hero Member
Posts: 2300
Re: dynamically generated tooltip in chrome
«
Reply #3 on:
May 25, 2016, 08:09:16 AM »
Please look at this updated example, the tooltip disappears when moving mouse out of the 'Test' text.
http://jsfiddle.net/54v8nacp/47/
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...