primevue icon indicating copy to clipboard operation
primevue copied to clipboard

DataTable: stack layout doesn't work with scrollable prop

Open mitow7821 opened this issue 2 years ago • 0 comments

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

mitow7821 avatar Aug 23 '22 13:08 mitow7821