DropDownList popup-setting className doesn't take effect

1 Answer 435 Views
DropDownList
Vincent
Top achievements
Rank 3
Iron
Iron
Iron
Vincent asked on 16 May 2022, 03:06 PM

I'm trying to add a custom class name to the DropDownList popup div like so:

Qtavuz (forked) - StackBlitz

 

But the custom class name isn't applied, while the custom width is. Is there a way to make this work?

1 Answer, 1 is accepted

Sort by
2
Accepted
Petar
Telerik team
answered on 16 May 2022, 03:50 PM

Hi Vincent,

There is this known bug about the 'popupSettings' props of all DropDowns. I cannot say exactly when the bug will be fixed but you can follow the feedback portal item from the link. Thus, once there is an update related to the issue, you will be notified about it.

What I can suggest as a possible workaround for your scenario is to use the following configuration:

:popup-settings="{ popupClass: 'yolo', width: '300px' }"

Here is a StackBlitz example demonstrating the usage of the above property configuration. 

I hope the suggested approach will help you achieve what you need in your application.

Regards,
Petar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DropDownList
Asked by
Vincent
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Petar
Telerik team
Share this question
or