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
In a menu model containing separator with className : { separator: true, className: 'user-separator-classname' }
the className doesn't applies to final rendering
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
Jul 14, 2024
Describe the bug
In a menu model containing separator with className :
{ separator: true, className: 'user-separator-classname' }
the className doesn't applies to final rendering
Reproducer
https://stackblitz.com/edit/ywyjat?file=src%2FApp.jsx,src%2Findex.css
PrimeReact version
10.6.6
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
inspecting dom: the 'user-separator-classname' doesn't appears as class attribute:
Expected behavior
menuitem separator should take care of user's classname.
The text was updated successfully, but these errors were encountered: