Declined
Last Updated: 18 Jul 2023 15:16 by ADMIN
Andre Beauchamp
Created on: 03 Feb 2021 15:02
Category: Kendo UI for Angular
Type: Feature Request
1
[Core] Defaults service to setup 'appendTo' by default to all kendo components

When using any kendo components that uses dialogs from inside an ionic application, all dialogs experience stacking context issues in iOS.

The solution for this at the moment is to tell every single component to append its dialog(s) to a specified container in a bid to better control its visibility.
Right now, not every component have an 'appendTo' setting for its dialogs (ie: Editor) which makes it unusable on iOS devices.

The feature I would like to request is a way to setup the default 'appendTo' container only once from a core service to any and all dialogs.
This would help in not having to add it manually to every single components we use and maybe make it easier for you to make this feature available to more components with less work. I would make it so it applies to the dialog component and service. (or use different methods to setup each differently)

Here's how it could look like :

@Component({ selector: 'app-mycomponent', templateUrl: './mycomponent.component.html' }) export class MyComponent implements OnInit { public kendoContainer: ViewContainerRef; //This would point to a container.


constructor
( private kendoSetupService: SetupService ) {} ngOnInit() { //This would affect all components using dialogs as well. this.kendoSetupService.dialogs.setDefaults({ 'appendTo': this.kendoContainer }); } }


If you setup a default, you could always override it at the element level like we do at the moment so it remains backward compatible.
<kendo-dropdownlist [(ngModel)]="data" [popupSettings]="{ 'appendTo': kendoContainer }"></kendo-dropdownlist>

This service could be used to override many of the kendo default behaviors with minimal code footprint in the end.
It could be divided into smaller default services instead if you prefer such as DialogSetupService

2 comments
ADMIN
Martin Bechev
Posted on: 18 Jul 2023 15:16

Hi Andre,

We are declining this request due to low interest and demand. If it turns out to be popular in the future, we will reconsider the status. 

Regards,
Martin
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
ADMIN
Svet
Posted on: 10 Feb 2021 09:40

Hi Andre,

Thank you for the provided feedback. What you are saying does make sense.

We will track the demand for the feature and eventually add it to our future development plans.

Regards,
Svetlin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.