Using Tailwind setup - the Ripple data attributes get added automatically #4564
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Using tailwind setup the Ripple data attributes gets added to Buttons. Even when trying to disable ripple via
{ ripple: false }
in the config.This causes the ripple classes to be more specific than tailwind classes, preventing the use of certain classes, such as
absolute
Reproducer
https://stackblitz.com/edit/vitejs-vite-upvqkv?file=src%2FApp.vue
PrimeVue version
3.34.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
All
Steps to reproduce the behavior
absolute top-0
=> the Button is not positioned absolutely because:
absolute
relative
which also overridesabsolute
Expected behavior
Any manually added tailwind classes to a component should be the main class.
The text was updated successfully, but these errors were encountered: