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

Panel: Passthrough not working for header #5570

Closed
sdwillbrand opened this issue Dec 11, 2023 · 1 comment · Fixed by #5755
Closed

Panel: Passthrough not working for header #5570

sdwillbrand opened this issue Dec 11, 2023 · 1 comment · Fixed by #5755
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes
Milestone

Comments

@sdwillbrand
Copy link
Contributor

Describe the bug

The headerTemplate is not receiving the headerClassname specified in the passthrough

Reproducer

https://codesandbox.io/p/sandbox/primereact-bug-headerclassname-not-included-in-panel-8s4xgf

PrimeReact version

10.2.1

React version

17.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a
  2. Use templateHeader for the panel
  3. Change the headerClassname

Expected behavior

headerTemplate should receive the classnames specified in the passthrough

@sdwillbrand sdwillbrand 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 11, 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 11, 2023
@melloware
Copy link
Member

Its this issue which already has an open PR waiting to be merged: #5215

@melloware melloware added this to the 10.3.0 milestone Dec 11, 2023
@melloware melloware added Component: Unstyled Issue related to unstyled/passthrough attributes and removed Component: Tailwind Tailwind specific issue labels Jan 2, 2024
@melloware melloware modified the milestones: 10.3.1, 10.4.0, 10.4.1 Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes
Projects
None yet
2 participants