You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 1, 2024
Describe the bug
Hello,
I waited for the release of 10.6.4 to play with MeterGroup (#6340)
However, I spent a long time before understanding why I had no color: when I have a ProgressBar on my screen, MeterGroup's CSS no longer works.
And even with two ProgressBars and a MeterGroup, when I delete one ProgressBar, the CSS for the other ProgressBar no longer works.
With the example given, you can try deleting one ProgressBar, then the other, then putting one back, then the other, and see how this affects the CSS.
Reproducer
https://stackblitz.com/edit/vitejs-vite-kxawqj?file=src%2FApp.tsx
PrimeReact version
10.6.4
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Firefox 125.0.3 ; Brave 1.65.123
Steps to reproduce the behavior
<MeterGroup values={[{ label: 'Hey', value: 15, color: 'red' }]}></MeterGroup>
<ProgressBar value={33} color={'yellow'} />
color={'red'} />` : the MeterGroup is working, but the ProgressBar's CSS is broken<ProgressBar value={66} color={'red'} />
: both ProgressBar are working, but the MeterGroup's CSS is brokenExpected behavior
CSS for all components must work
The text was updated successfully, but these errors were encountered: