foundryvtt-shadowdark icon indicating copy to clipboard operation
foundryvtt-shadowdark copied to clipboard

Bug: Inventory header disappearing on large inventory

Open bakbakbakbakbak opened this issue 2 years ago • 1 comments

When a large amount of items are added to the inventory, and the user scrolls down, the header is not sticky to the top, making it hard to read:

Before scrolling: image

After scrolling: image

bakbakbakbakbak avatar Jun 04 '23 06:06 bakbakbakbakbak

So I did some quick research on this. That scroll bar on the right is not for the tab, but for any tab that causes an overflow on this pop-up. You can see it on the Notes tab as well if you do small resize.

I'm looking at the table for the inventory and it lacks a distinct Header/Body/Footer in the table itself. So the CSS can't really "sticky" the header because we don't call it a header. I have a fix on my machine that makes an explicit header and tweaks the CSS.

There's one extra wrinkle that I'm seeing. The "Total Coins" and "Total Gems" kind of look like Footers that should also be sticky. So I'll create PR under this assumption.

gatesvp avatar Oct 18 '23 23:10 gatesvp

Fixed in new UI overhaul

Muttley avatar Jul 07 '24 11:07 Muttley