Pin window to some element in Angular with window service

1 Answer 132 Views
Dialog Window
Ilya
Top achievements
Rank 1
Ilya asked on 08 Sep 2023, 06:59 AM

Hello!

Is there any option to pin window to some DOM element, so that when i am scrolling whole page the window could scrolls together with it? I saw similar option in Kendo UI for jQuery. Or maybe you can suggest some workaround?

I also tried to use specifying custom window container but it is actually now working as I expected.

Thank you in advance!

1 Answer, 1 is accepted

Sort by
0
Tsvetelina
Telerik team
answered on 12 Sep 2023, 01:27 PM

Hi Ilya,

To pin the Window component to a specific DOM element, the appendTo property of the WindowSettings can be used:

https://www.telerik.com/kendo-angular-ui/components/dialogs/api/WindowSettings/#toc-appendto

Respectively for the Dialog, please see https://www.telerik.com/kendo-angular-ui/components/dialogs/api/DialogSettings/#toc-appendto

I hope this helps.

Regards,
Tsvetelina
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 Window
Asked by
Ilya
Top achievements
Rank 1
Answers by
Tsvetelina
Telerik team
Share this question
or