Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

PCF - custom dropdown list not visible

(0) ShareShare
ReportReport
Posted on by 3

Hi! 

 

I created custom PCF dropdown component, using Semantic UI Dropdown Component. When dropdown list opens, it is hidden behind "parent" div. I tried all CSS tricks that I could think of, and nothing solved my issue, the list is still falling behind the field container where pcf is placed. I want the dropdown to fall over the container.

 

Anyone faced similar issue and how did you solve it? 

 

 

tzalar_0-1601365443797.png

 

  • David Pezzoli Profile Picture
    230 on at
    Re: PCF - custom dropdown list not visible

    I have the same issue....

    I see that you can't reference all semantic.css file to PCF because impact to model-driven app form layout, see this link

     

    "When you implement styling to your code components using CSS, ensure that the CSS is scoped to your control using the automatically generated CSS classes applied to the container DIV element for your component. If your CSS is scoped globally, it will likely break the existing styling of the form or screen where the code component is rendered. If using a third-party CSS framework, use a version of that framework that is already namespaced or otherwise wrap that framework in a namespace manually either by hand or using a CSS preprocessor."

      

    So, using Semantic-UI-react for me it's very difficult in PCF because using Semantic UI Theming need another unused reference: craco....

     

    ...How did you solve the problem? 

  • ScottDurow Profile Picture
    1,039 on at
    Re: PCF - custom dropdown list not visible

    This looks like an issue similar to - https://github.com/Semantic-Org/Semantic-UI/issues/3246#issuecomment-359221980

    It seems to be due to the way that Material UI creates the drop down inline - rather than a dom element added to the end of the document.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 72 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard