DropDownList & appendTo

2 posts, 1 answers
  1. Paul
    Paul avatar
    2 posts
    Member since:
    Apr 2013

    Posted 29 Jun Link to this post

    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?
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2950 posts

    Posted 30 Jun Link to this post

    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.
Back to Top