rappasoft / laravel-livewire-tables

A dynamic table component for Laravel Livewire
https://rappasoft.com/docs/laravel-livewire-tables/v2/introduction
MIT License
1.7k stars 320 forks source link

[Bug]: Multiple tables collapsible on mobile #1668

Closed manuelpmgt closed 4 months ago

manuelpmgt commented 4 months ago

What happened?

When i have multiple tables on the same page with columns()->collapseOnMobile, when i click to view the collapsed columns, it shows the columns of the same row on all tables on the same page.

How to reproduce the bug

Create multiple tables on the same page with various collapsible columns.

Package Version

3

PHP Version

8.3.x

Laravel Version

No response

Alpine Version

No response

Theme

Bootstrap 5.x

Notes

No response

Error Message

No response

lrljoe commented 4 months ago

Thanks for the report. I've spotted the issue, but it may be a week before I can get it fixed.

manuelpmgt commented 4 months ago

Thank you! No worries im working around it for the moment.

lrljoe commented 4 months ago

Just responding to note that I've not forgotten about this, and am still looking into options to get this working smoothly and consistently.

lrljoe commented 4 months ago

Managed to find a straight-forward fix, so this will be in v3.2.4, which should be out shortly.

lrljoe commented 4 months ago

This is in 3.2.4, just tested and it appears to have resolved the issue, please re-open if the issue persists.