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

Tip position

3 Answers 81 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 1
Victor asked on 25 Sep 2008, 06:20 PM
I have a tip that is positioned relative to the element and positioned bottomright and set to manual close. This works fine except when the tip extends past the right of the screen width.

The tip does reposition to the left so to not go off the screen, but the manual close image extends off the screen.

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 26 Sep 2008, 10:04 AM
Hi Victor,

I tried to reproduce the problem in this online demo but unfortunately to no avail. What I did in order to replicate the described setup was:

  1. Set RelativeTo = Element
  2. Set ManusalClose = true
  3. Set ShowCallout = true
  4. Resized the browser in order to not have enough available space for the tooltip

The RadToolTip repositioned itself as expected and the 'X' sign for manual closure was positioned as expected as well.

Would you please try to reproduce the problem in the demo and tell me if I am doing something wrong? In case you could not and  your problem persists, please prepare a sample, fully runnable reproduction demo, open a new support ticket and send it to me along with a detailed explanation of the problem, some screenshots of the desired and the actual behavior and reproduction instructions. Once I receive it, I will do my best to help.

Regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Victor
Top achievements
Rank 1
answered on 26 Sep 2008, 02:53 PM
I am able to reproduce this in your online example using the following settings:

Relative to: Element
Postion: Bottom Right
Animation: Fade
ShowEvent: OnClick
Visible On Page Load: unchecked
Show Callout: unchecked
ManualClose: checked
Modal: unchecked

Then resize the browser window to 900Wx800H and click the Show Tooltip button.

The tip appears and shifts left on the "Tooltip target contol" link to appear in the window, except for the close button (x).

This is in Firefox 3.0.2, Safari 3.1.2 (Windows), and Opera 9.27. Internet Explorer 6 and 7 appear correctly.
0
Svetlina Anati
Telerik team
answered on 30 Sep 2008, 11:53 AM
Hello Victor,

Thank you for the reproduction instructions, I was able to reproduce the described behavior. It is a result form the fact that under IE when calculations of the screen area are done, the scrollbar width is also included in these calculations and in other browsers e.g. FF it is not so - note that only a part with the width of the scrollbar is cut off from the tooltip and also test the setup without having a scrollbar. The behavior is not a bug in the RadToolTip control but it is due to browser specifics and we will consider improving it.

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Victor
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Victor
Top achievements
Rank 1
Share this question
or