CRUD: Bug on table responsive mode
Bug report
What I did:
I update my laravel-backpack to latest version
What I expected to happen:
The table is responvsive before
What happened:
Now the table is not responsive and no button for display the modal information or each row
What I’ve already tried to fix it:
Already fix it by removing this line of code from datatables_logic.blade.php
initComplete: function () {
crud.responsiveToggle(
jQuery('#crudTable').DataTable()
);
}
Backpack, Laravel, PHP, DB version:
My backpack version is 3.4.17, laravel 5.6, PHP ##7.1.13
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 16 (9 by maintainers)
Commits related to this issue
- maybe fix for #1489 Maybe fixes https://github.com/Laravel-Backpack/CRUD/issues/1489 — committed to Laravel-Backpack/CRUD by OwenMelbz 6 years ago
Thanks a lot for reporting this @kevind11 , @swilla , @SuperDooker @tomgillespy . I’ve just pushed a hot fix.
composer updateshould fix it for you.Sorry for pushing this into production - looks like this change was the culprit. I removed it for now and we’ll find a different way of achieving the same thing.
I’m having a similar issue. After upgrading to the latest, I no longer get the three dots on the left side of each row. The action buttons are hidden outside the viewport. It doesn’t appear that it actually in responsive mode anymore.