web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / React Kanban PCF: Boot...
Power Apps
Answered

React Kanban PCF: Bootstrap 4 usage

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

I created a kanban PCF which leverages react-bootstrap along with bootstrap 4 for rendering.

This is a project I'm working on for quite some time, even before I got into PCF, which is why I started designing it as a webresource.

 

Recently I migrated to PCF (which was surprisingly easy to do), but encounter some incosistencies with library usage.

- Bootstrap 4 seems to misalign the Breadcrum navigation of CRM a little too far upwards and smaller (you can see it in the screenshots in the Repo: https://github.com/DigitalFlow/D365-PowerKanban)

- On some organizations, fontawesome.all.js seems to corrupt the navigation icons in the left sidebar of CRM. My dev is fine though.

 

I can get around the fontawesome issues rather easily by switching to a different way of rendering, for example the react integration of it.

But I'm not sure how to handle the bootstrap 4 issues, are there any best practices?

Thanks for your help.

 

Kind Regards,

Florian

I have the same question (0)
  • Verified answer
    ScottDurow Profile Picture
    1,039 on at

    Hi @Ravertux 

    Awesome job on the kanban control!

    You will need to namespace your bootstrap CSS using the name of your control. The PCF Control top level container is given a class name that is the name of the control - so all CSS rules then need to be namespaced to that class name so that they do not apply to any styles outside of the PCF control container.

     

    Hope this helps,

    Scott

  • Ravertux Profile Picture
    5 on at

    Hi @ScottDurow,

     

    I'm glad that you like the control 🙂

    Thanks for the hint. I'm currently not using bootstrap directly, but react-bootstrap instead, which uses the bootstrap classes automatically.
    I will look into customizing the bootstrap namespace in the css and passing the bsClass parameter in all bootstrap components for defining the custom namespace, that should do the trick.

     

    Kind Regards,

    Florian

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 211 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard