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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with Sytle attri...
Power Apps
Answered

Issue with Sytle attribute "gap" set in FluentUI-React component (@fluentui/react-components)

(1) ShareShare
ReportReport
Posted on by 27
Hi,
 
I have my custom component built usin gFluentUI (9.4.6) component (@fluentui/react-components) and I am using following code to set style
const useStyles = makeStyles({
  buttonList: {
    display: "flex",
    flexDirection: "column",
    gap: "50px",
  },
});
However, when this component is rendered in PCF Test environment and also in Dynamics 365 Form as Custom Component, "gap" element of the style is stripped off. Due to which my components are not rendering properly on UI.
 
When same component is rendered in standard react app (create-react-app), it does gets rendered properly with "gap" element so most likely this issue is with PCF.
 
What is resolution for this issue?
 
 
I have the same question (0)
  • Verified answer
    Makarand Keer Profile Picture
    27 on at
    issue got resolved by using rowGap and columnGap 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard