Menu / Stepper: Pass Through Unstyled Mode #5599
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When custom classes are passed to the Menu component in unstyled mode, the default classes are not removed. For context, I'm developing a UI library by encapsulating PrimeVue components, where I customise icons and styling.
An example of such a wrapped component is
WrappedMenu
. However,usePassThrough
also doesn't work as expected.Reproducer
https://stackblitz.com/edit/primevue-create-vue-issue-template-dkpqco?file=src%2FApp.vue
PrimeVue version
3.51.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Configure pass through as per the stackblitz example.
Expected behavior
All PrimeVue classes should be removed, leaving only the configured classes.
The text was updated successfully, but these errors were encountered: