Unplanned
Last Updated: 07 Jan 2022 12:26 by ADMIN
John-Paul
Created on: 21 Feb 2020 20:55
Category: KendoReact
Type: Feature Request
1
Kendo React Tooltip - Control the priority when calculating "auto".

When using the auto for tooltip position, I would like the option to prioritize the order.

[right, left, bottom, top] for example would mean that it would check if that area is available to display a tooltip, and if not, it'll move on to the next one in the list.

 

Is this an option? How will I go about creating this functionality if not?

7 comments
ADMIN
Stefan
Posted on: 27 Feb 2020 06:16

Hello, John-Paul

Thank you for the confirmation.

This is the official public link:

https://feedback.telerik.com/kendo-react-ui/1454854-kendo-react-tooltip-control-the-priority-when-calculating-auto

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
John-Paul
Posted on: 26 Feb 2020 15:50

Hi Stephan, 

 

That would be great. Thank you!

ADMIN
Stefan
Posted on: 26 Feb 2020 06:35

Hеllo, John-Paul,

Thank you for the clarification.

Would you like me to transfer this as an official public feature request as it already has the specific information connected to it?

If made official, the item will appear here and the community can vote for it as this will increase its chances to be implemented sooner:

https://feedback.telerik.com/kendo-react-ui

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
John-Paul
Posted on: 25 Feb 2020 16:48

Hello Stefan,

Yes, that's the expected behaviour.

We are hoping to use the tooltip in a list/treelist view configuration to provide additional helper text for the items in the list. It seems like the current tooltip will prioritize vertical configurations first (top, bottom) which means that it has a chance to obscure text previous/next list items. Ideally, we would like that the tooltip prioritize horizontally and if for some reason the view is super narrow then the tooltip should appear vertically, obscuring other items as a last resort.

Regards,
JP

ADMIN
Stefan
Posted on: 25 Feb 2020 06:21

Hello, John-Pau,

With the array option, the desired result is to show the Tooltip at the first available position from the array.

Let's say we have ['top', 'left', 'right', 'bottom'] and if the top is not possible, we will show that item on the left side? Then for another item,  top and left are not possible, and we will show it on the right?

I would like to get as much context as possible to ensure that we will provide an option that will best suit the application requirements. Is it possible to share some context around this, for example, what is the current issue which this feature will try to resolve?

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
John-Paul
Posted on: 24 Feb 2020 16:07

Hi Stefan,

I am not 100% sure, in my head, I was expecting the ability to provide an array of directions that would rely on the default method of calculating position but follow priority of the array that was provided. 

ADMIN
Stefan
Posted on: 24 Feb 2020 07:51

Hello, John-Paul,

Thank you for the suggestion.

If you would like, I can convert this to an official feature request.

Also, is it possible to share more details, how this is expected to work? For example, we can provide a callback function in which, you can do the desired calculations and return the position. Then the Tooltip will use that position when displayed. This will allow to dynamically set the position each time the Tooltip is opended.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items