CRUD icon indicating copy to clipboard operation
CRUD copied to clipboard

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

Open malle-pietje opened this issue 2 years ago • 6 comments

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.

malle-pietje avatar Dec 19 '22 14:12 malle-pietje

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 avatar Dec 19 '22 16:12 pxpm

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

malle-pietje avatar Dec 19 '22 16:12 malle-pietje

@pxpm also happy 🎅 to you!

malle-pietje avatar Dec 19 '22 16:12 malle-pietje

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?

mint-ws avatar May 19 '23 06:05 mint-ws