Open omelched opened 4 months ago
Having the same issue on v4.0.5 and firefox. Any updates on this or workaround?
I encounter this on v4.0.5 too. To work around this, I use PT to add tailwind class like below:
<DataTable :value="records" size="small" showGridlines stripedRows
:pt="{
bodyRow: 'hover:bg-surface-100'
}">
...
</DataTable>
Have the same issue. Think I'll just wait till this get fixed.
I haven't researched the root cause but here's my current work-around in a
Describe the bug
Odd
DataTable
rows continue to have striped background despite being hovered.DataTable
component has propsstripedRows
andv-model:selection="..."
selectionMode="single"
dataKey="..."
Reproducer
https://stackblitz.com/edit/zfdzzm-yp3mek?file=src%2FApp.vue
PrimeVue version
4.0.0-rc.2
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
Chrome 125.0.6422.142
Steps to reproduce the behavior
Expected behavior
Row background changes at odd (striped) rows if DataTable has selection mode.