Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeTable: stripedRows property not working #4421

Closed
LeandroMarcondes opened this issue May 19, 2023 · 1 comment
Closed

TreeTable: stripedRows property not working #4421

LeandroMarcondes opened this issue May 19, 2023 · 1 comment
Assignees
Labels
Component: Theme Issue or pull request is related to Theme
Milestone

Comments

@LeandroMarcondes
Copy link

Describe the bug

I noticed that when I add the property "stripedRows" to a TreeTable component the lines does not change the colors.

Reproducer

https://codesandbox.io/s/primereact-demo-forked-r586x9?file=/src/App.js

PrimeReact version

9.4.0

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

Firefox

Steps to reproduce the behavior

On a TreeTable component that is displaying more that one line, add the property stripedRows.
Then Observe that the odd lines will not receive the CSS to get a different background color.

Expected behavior

When the component TreeTable has the property stripedRows, the odd lines will has a CSS to change the background color of the line.

@LeandroMarcondes LeandroMarcondes added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 19, 2023
@melloware melloware added Component: Theme Issue or pull request is related to Theme 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 19, 2023
@melloware
Copy link
Member

Submitted this Theme fix: primefaces/primereact-sass-theme#13

@melloware melloware added this to the 9.5.0 milestone May 19, 2023
@melloware melloware self-assigned this May 19, 2023
@mertsincan mertsincan modified the milestones: 9.5.0, 9.6.0 May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Theme Issue or pull request is related to Theme
Projects
None yet
Development

No branches or pull requests

3 participants