Sidebar Headless Component Styling Issue in PrimeReact 10.9.3 with React 19 #3722
Unanswered
bharattekade
asked this question in
PrimeReact
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have created a new React project and installed PrimeReact (version 10.9.3). However, when using the Sidebar Headless component, it does not work as expected based on the PrimeReact documentation.
Observed Issues:
Font size appears larger than expected.
Hover effect is not working.
Extra white space appears on the right-hand side.
Environment:
React Version: 19
PrimeReact Version: 10.9.3
CSS Differences Noticed:
On the PrimeReact site, the hover CSS is as follows:
However, in my application, I see this instead:
This difference seems to affect the hover styling behavior.
Screenshot:

Here is how the Sidebar Headless component appears in my application:
Expected Behavior:
The component should match the styling as seen on the PrimeReact documentation, with proper hover effects and no unwanted white space.
Steps to Reproduce:
Create a new React 19 project.
Install PrimeReact 10.9.3.
Implement the Sidebar Headless component as per the documentation.
Observe the styling differences mentioned above.
Additional Context:
Please let me know if there is any workaround or if a fix is required for this issue.
All reactions