-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
colspan issue in ListOperation
#4951
Comments
Hmm... I'm not sure I understand @EGYWEB-Mohamed . Can you please rephrase? Everywhere I have Is it happening anywhere in our demo https://demo.backpackforlaravel.com/admin/article? Cheers! |
@tabacitu after too many hours of investigation I found it causes when there are too many columns and |
Hi @jorgetwgroup |
I can confirm this bug as well: it reproduces with showEntryCount=false and on small resolutions. It does not reproduce if responsive table is disabled. If if you redrawn the result (e.g. using no. of entries per page dropdown), it renders fine. |
I see this issue has been added to the Todo list but for what it's worth, I'm experiencing the exact same issue. First row gets a colspan on a responsive table. I've also noticed the page number in the pagination links at the bottom of the table also does not show. Huge thank you to @EGYWEB-Mohamed for figuring out the fix. |
@mint-ws |
Hey guys. Thanks for the report and solution @EGYWEB-Mohamed and everyone who participated here. I hope that we fixed this somehow 🤷 , I was totally unable to reproduce this in our demo: I am preemptively closing this, but if you guys still experience the issue, please provide me the clear steps on how I can reproduce it, ideally in our demo, or in a clean install. Cheers |
Hello, @pxpm I believe you can reproduce this issue using the |
Hi, I can confirm that I've also encountered this bug. Not sure if that helps or not, but it appears that when we set CRUD/src/app/Http/Controllers/Operations/ListOperation.php Lines 107 to 114 in 1fe921d
|
I've tried really hard to reproduce this again, but unfortunatelly I am still not able. I've tried enable/disable One thing I noticed from your screenshots is that the search bar on the top right has rounded borders, while we use for some time square borders. Is it possible that you guys have the I would really love to be able to reproduce this, if anyone can setup a reproduction repo I can use, I will glady fix this, until then I am totally in the dark here 😞 Going to keep this open for a while hoping someone can provide me a way to reproduce this. Cheers |
Hi there, since I stopped using backpack some time ago I can't provide a sample. |
Thanks @mint-ws, appreciate your feedback. Not showing the page numbers when Thanks a lot for your input, I will wait to see if someone else have a better insight 🙏 Cheers |
Hey @pxpm, which theme are you using in your tests? |
@zeknoss screenshots are from tabler theme, but I also tested on coreui-v2. |
I'll try to come up with a reproduction guide for you, asap |
|
thank you all, I was finally able to reproduce the issue and fix it 🙏 A Cheers |
Bug report
What I did
responsive table
What I expected to happen
What happened
and I noticed from inspect element there's colspan added to the first row
What I've already tried to fix it
N/A
Is it a bug in the latest version of Backpack?
Yes
Backpack, Laravel, PHP, DB version
PHP VERSION:
PHP 8.1.7 (cli) (built: Jun 16 2022 12:46:39) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.7, Copyright (c) Zend Technologies
with the ionCube PHP Loader v12.0.5, Copyright (c) 2002-2022, by ionCube Ltd.
LARAVEL VERSION:
v9.52.4@9239128cfb4d22afefb64060dfecf53e82987267
BACKPACK PACKAGE VERSIONS:
backpack/crud: 5.5.1
backpack/devtools: 1.3.2
backpack/editable-columns: 2.1.1
backpack/filemanager: 2.0.0
backpack/generators: 3.3.14
backpack/permissionmanager: 6.0.16
backpack/pro: 1.6.0
The text was updated successfully, but these errors were encountered: