This is a migrated thread and some comments may be shown as answers.

DropDownList & appendTo

1 Answer 106 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 29 Jun 2020, 11:33 PM
I want to scope my styles for the list items, but no matter how I try to pass in an HTMLElement reference to the popupSettings appendTo property, I don't get any items rendering in the DOM. Is this API documented correctly and does the feature work properly?

1 Answer, 1 is accepted

Sort by
1
Accepted
Stefan
Telerik team
answered on 30 Jun 2020, 07:14 AM

Hello, Paul,

I made an example appending the popup of the DropDownList to a custom element and it was appended as expected:

https://stackblitz.com/edit/react-pb6mvs?file=app/main.jsx

I can suggest checking the following:

1) The element that is passed to the appendTo property is already available when the property is set.

2) Using the latest version of the '@progress/kendo-react-dropdowns' package as this prop was introduced recently.

If the issue still occurs, please share an example and I will be happy to investigate further.

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Wrappers for React
Asked by
Paul
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or