This is a migrated thread and some comments may be shown as answers.

Tooltip will not close unless users clicks elsewhere on a page.

8 Answers 838 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Thomas Salt
Top achievements
Rank 1
Thomas Salt asked on 03 Mar 2008, 05:04 PM
Hi.  I have downloaded the most recent version of the Prometheus controls.  I noticed that when a tooltip pops up there are only two ways to close the tooltip for my current situation.

I have a hyperlink with a tooltip set to display on the BottomLeft of the hyperlink.  When the tooltip pops up OnMouseOver I move the mouse cursor so it is now on top of the tooltip.  When I move the mouse off of the tooltip the tooltip closes as expected.  However, if I do not move the mouse onto the tooltip but instead leave it only on the hyperlink the tooltip will not close unless I click elsewhere on the page. 

I have implemented javascript I have found among these help pages to close the tooltip on the "OnMouseOut" event of the hyperlink.  This in turn does not give the user the ability to move the mouse onto the tooltip because the "OnMouseOut" event fires before the user's pointer reaches the tooltip.  What is happening in my situation is logically what should be occuring. 

I am wondering if there is a way to get the best of both worlds and have the tooltip close only when the mouse is not on the tooltip or not on the hyperlink?

8 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 04 Mar 2008, 03:15 PM
Hello Thomas,

The desired behavior is absolutely logical and expected and that's the way the RadToolTip behave. I tested the described setup and tried to reproduce your problem but to no avail.

I assume that a possible reason for this issue could be setting the AutoCloseDelay property to a big value. If so, the delay value is reset every time you mouse over the target control - so your tooltip's hiding is delayed over and over again and it looks like it is never closed.

If this is not your case, please, open a new support ticket and send us a sample project which reproduces the described problem. 

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Thomas Salt
Top achievements
Rank 1
answered on 04 Mar 2008, 06:14 PM
Hello:  An example of what I am talking about is occuring on one of the tooltip example pages.  Tooltip Example

If you go to this page and mouse over the "Next ==> " button a tooltip that says "Next Article: CNN Annual" pops up.  If you then move your mouse UP (without going over the tooltip) the tooltip will stay open indefinitely until one clicks elsewhere on the page.  If you bring your mouse onto the tooltip and then off the tooltip it will close most of the time. 

I'm not sure if this is the expected results of setting 'Sticky = True'.  If it is how do I acheive the desired functionality as stated in my first post?  That is, how do I get the pop up to stay visible until the user moves off the TargetControl or the user moves off the tooltip itself.

Here is an example of Blockbuster Video's tooltip.  This functions exactly how I would like my own tooltip to function.  If you go to THIS page and hover your mouse over any movie image (picture above the words "ADD TO QUEUE") you will see the tooltip which I speak of.  Mainly noting how the tooltip will stay visible until a user moves the mouse off of the movie image or moves the mouse off the tooltip itself.  Contrary to telerik's demo which I linked to above where the tooltip will stay visible until a user clicks elsewhere on the screen.

Thank you in advance for your help,

-Seth
0
Accepted
Svetlina Anati
Telerik team
answered on 05 Mar 2008, 05:50 PM
Hi Thomas,

Yes, you are right - this behavior is due to setting the RadToolTip's Sticky property to true. Unfortunately, we cannot offer you the exact desired functionality now but we will log it in our TODO list.

Thank you for this feature request. Your account was updated with 1000 Telerik points.

Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dave
Top achievements
Rank 1
answered on 06 Mar 2008, 10:03 PM
I'm confused as to the behavior of the ToolTip.  Shouldn't the ToolTip close IMMEDIATELY every time you mouse out from the element (whether the user moused over the body of the tooltip or not)?  It doesn't appear like that's the actual behavior of the tooltip.  I don't have sticky set to true in my tooltip, but it still appears like the tooltip is staying open when it shouldn't be.
0
Svetlina Anati
Telerik team
answered on 10 Mar 2008, 03:38 PM
Hello Dave,

I already answered your support ticket - for your convenience I place the answer below:

We made additional research about this behavior and we found out that when you move the mouse slowly at one moment the mouse is out of the element but its coordinates lie exactly on the element's boundary - that causes the browser to "think" that the mouse is still inside it and the tooltip doesn't hide.

The problem was fixed and the control's improved version will be released in our future build.



Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Paul
Top achievements
Rank 1
answered on 04 Jun 2008, 11:48 AM
I am currently experiencing exactly the same problems as described in this thread - namely that sticky tooltips will not disappear when you move off the target without touching the tooltip.

Ideally the tooltip should stick around only if you hover over the target or move quickly from target to tooltip and then hover over that. It should disappear when the mouse has left both elements without having to click on the page.

The last post suggests that these problems are now resolved but I notice that similar issues are still occurring on the telerik sample referenced earlier in this thread.

Which forthcoming build should include the fix?
0
Svetlina Anati
Telerik team
answered on 05 Jun 2008, 11:19 AM
Hello Paul,

I tested the discussed online demo but the RadToolTip behaves as expected.

When you have the Sticky property set to true, the RadToolTip will hide only after you mouse over it while it is already shown and then move the mouse outside it. When the mouse is out of both elements, in case you have not mouse over  the tooltip and then move the mouse outside it, it should stay opened and this is the expected behavior.

In case I have not understand you correctly, please open a new support ticket and send us a video capture of the problem along with a detailed explanation of the desired behavior. 


Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dean Alexander
Top achievements
Rank 1
answered on 09 Jul 2008, 07:14 PM

I am still using the 515 release, however I had this problem and noticed it is probably fixed in the newer one(s) but can't upgrade everything yet.

Maybe I found a solution in the meantime.

If you put the controls with tooltips inside a Panel, and you assign
a tooltip to the panel, visible=false, and you set the autoclosedelay=(big number), then the behavior appears to be as requested by the original poster.

Not that y'all shouldn't upgrade, but, if you can't, here's a possible "BubbleGum Fix".
Tags
ToolTip
Asked by
Thomas Salt
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Thomas Salt
Top achievements
Rank 1
Dave
Top achievements
Rank 1
Paul
Top achievements
Rank 1
Dean Alexander
Top achievements
Rank 1
Share this question
or