|
Title: dynamically generated tooltip in chrome Post by: devnull 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 Title: Re: dynamically generated tooltip in chrome Post by: jarry 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/ Title: Re: dynamically generated tooltip in chrome Post by: devnull 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. Title: Re: dynamically generated tooltip in chrome Post by: jarry 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/ |