Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Table sticky header does not match table style and has alignment issues #4853

Open
malle-pietje opened this issue Dec 19, 2022 · 4 comments
Assignees
Labels
Minor Bug A bug that happens only in a very niche or specific use case. Priority: COULD

Comments

@malle-pietje
Copy link

Bug report

What I did

Used list view for a Crud with more rows that fit in the viewport.

What I expected to happen

That the header width and styling remained the same when scrolling vertically.

What happened

Using thus URL with "entries per page" set to 25:
https://demo.backpackforlaravel.com/admin/monster

This is what the table header looks like when we are at the top of the table:
image

And this when we scroll downwards:
image

You see the up/down arrows are different as well as the horizontal spacing..

What I've already tried to fix it

Nothing. This is from the Backpack demo site.

Is it a bug in the latest version of Backpack?

n.a.

Backpack, Laravel, PHP, DB version

n.a.

@pxpm
Copy link
Contributor

pxpm commented Dec 19, 2022

Hey @malle-pietje thanks for the report! 🙏

I didn't notice that detail before, the headers shift a little bit when the sticky header kicks in.

We need to probably apply the same fix we did for the shifted table headers to the sticky header.

I will investigate and deploy the fix.

Once again, thanks for the report, wish you the best 🎅

@pxpm pxpm changed the title [Bug] [Bug] Table sticky header does not match table style and has alignment issues Dec 19, 2022
@pxpm pxpm self-assigned this Dec 19, 2022
@pxpm pxpm added Minor Bug A bug that happens only in a very niche or specific use case. and removed triage labels Dec 19, 2022
@pxpm pxpm moved this to Todo in This week Dec 19, 2022
@malle-pietje
Copy link
Author

Excellent. Also, the up/down arrow images change which is probably unrelated to the other recent fix.

@malle-pietje
Copy link
Author

@pxpm also happy 🎅 to you!

@mint-ws
Copy link

mint-ws commented May 19, 2023

Same issue here. Arrow styles change and the column alignment shifts on the sticky header.
image
Can anyone recommend a way to fix this while we wait for the update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Bug A bug that happens only in a very niche or specific use case. Priority: COULD
Development

No branches or pull requests

6 participants