primevue
primevue copied to clipboard
DataTable: stack layout doesn't work with scrollable prop
Describe the bug
Using scrollable prop disables responsive stack layout of the table. I'd love to use both of this props at the same time is there any way to achive that?
Reproducer
https://stackblitz.com/edit/vitejs-vite-kkhqpa?file=src%2Ftable%2FTable.vue&terminal=dev
PrimeVue version
3.16.2
Vue version
3.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Go to: https://stackblitz.com/edit/vitejs-vite-kkhqpa?file=src%2Ftable%2FTable.vue&terminal=dev Check mobile view. (stack layout doesn't work) Remove scrollable prop. Check mobile view again (stack layout works)
Expected behavior
No response