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

ConfirmDialog: acceptButton's pt don't respect button #5653

Closed
kl-nevermore opened this issue Dec 29, 2023 · 0 comments · Fixed by #5654
Closed

ConfirmDialog: acceptButton's pt don't respect button #5653

kl-nevermore opened this issue Dec 29, 2023 · 0 comments · Fixed by #5654
Assignees
Labels
Component: Tailwind Tailwind specific issue
Milestone

Comments

@kl-nevermore
Copy link
Contributor

Describe the bug

<ConfirmDialog
    pt={{
        rejectButton: {
            root: {
                className: 'from-root'
            }
        },
        acceptButton: {
            root: {
                className: 'from-root'
            }
        }
    }}
/>;

image
image

Reproducer

https://codesandbox.io/p/sandbox/primereact-demo-forked-vj3s38?file=%2Fsrc%2FApp.js%3A51%2C7-64%2C9

PrimeReact version

latest

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

Chrome 118

Steps to reproduce the behavior

acceptButton should have from-root like rejectButton

Expected behavior

No response

@kl-nevermore kl-nevermore added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 29, 2023
@melloware melloware added Component: Tailwind Tailwind specific issue and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 29, 2023
@melloware melloware added this to the 10.2.2 milestone Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Tailwind Tailwind specific issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants