Tooltip issue when no width property

1 Answer 52 Views
ToolTip
Laurent
Top achievements
Rank 2
Iron
Iron
Laurent asked on 25 Jul 2023, 02:38 PM

Hi team,

Consider this dojo: https://dojo.telerik.com/uZOruWEY

The tooltip is initialised without the width property. In that case, on first mouse-in the text is not wrapped and seems the right behaviour for me.

On next mouse-in, the text is wrapped! 

 

Best regards,

Laurent.

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 28 Jul 2023, 10:44 AM

Hello Laurent,

In order to achieve the desired behavior, I would suggest styling the corresponding element with the CSS property 'white-space: nowrap'

In your case, the style would be applied to the .k-child-animation-container class, which is the container of the Tooltip element:

<style>
    .k-child-animation-container{
       white-space: nowrap;
    }
</style>

Here is the Dojo you had provided with the applied styling:

Let me know if you have further questions. 

Regards,
Zornitsa
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Laurent
Top achievements
Rank 2
Iron
Iron
commented on 28 Jul 2023, 12:43 PM

Hi Zornitsa,

Thank you for the workaround and your prompt response.

Unfortunately, it won't resolve my issue as I use many tooltips with different configurations and when using the width property it should not be nowrap.

Think it must be logged as a bug just because the behaviour is different from one mouse-in to another.

Best regards,

Laurent.

Zornitsa
Telerik team
commented on 31 Jul 2023, 11:12 AM

Hello Laurent,

This issue is a known one and thus it has been logged in our official Feedback Portal:

As this bug is a regression introduced with the 2023.1.314 Kendo version, it is considered with the highest possible priority. You could follow the item in the portal in order to be notified about its progress. 

Let me know if you have further questions or comments about this issue.

Regards,
Zornitsa
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
ToolTip
Asked by
Laurent
Top achievements
Rank 2
Iron
Iron
Answers by
Zornitsa
Telerik team
Share this question
or