Tooltip in Dialog?

1 Answer 136 Views
Dialog Tooltip
lucas
Top achievements
Rank 1
lucas asked on 08 Sep 2023, 02:51 AM | edited on 08 Sep 2023, 12:08 PM

Hey there,

I'm currently developing a web app and making use of KendoUI, with a specific focus on the KendoTooltip component. However, I'm facing an issue when trying to use it with a native HTML5 dialog. The tooltip doesn't seem to display above the dialog.

Update: I just realized, that all components using KendoPopup are affected. So when I open a dropdown it's hidden in the background as well.

It's worth noting that the native HTML5 title attribute works just fine in this scenario.

I've even forked one of your examples to demonstrate the problem: Tawij7 (forked) - StackBlitz

If anyone has insights or suggestions on how to make the KendoTooltip work seamlessly with native HTML5 dialogs, I'd greatly appreciate your help!

Thanks in advance!

 

 

1 Answer, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 13 Sep 2023, 01:14 PM

Hi Lucas,

Thank you for the provided details.

The native HTML <dialog> element is added to the 'Top Layer' of the DOM. Top layer elements will appear on top of any element, including those with the highest z-index, which is why the tooltip is rendered behind the dialog.

For more information, please refer to the following article:

https://developer.chrome.com/blog/top-layer-devtools/

To avoid any undesired rendering, use the Kendo UI for Angular Dialog component:

https://stackblitz.com/edit/angular-y8v2px

I hope this helps.

Regards,
Simeon
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
Dialog Tooltip
Asked by
lucas
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Share this question
or