Bug: Stack expands on Drag/Drop-Event

Hi, we experience some pretty weird behaviour when using "stack" and getting some drag-/drop-events.
Recording 2025-06-19 at 18.24.35
The stack-size grows suddenly, in this case when we try to drag a file into the window, but it behaves the same on every drag-event.
This is pretty annoying, cause we use stacks pretty often.

Could you check on it? We use 3.196.6 in self-hosting.

Here an example-module:
drag_stack_resize_bug.json (17.8 KB)

Thanks and best regards!

1 Like

Hey @flaschenpost-wha,

I'm trying this as a demo in my module. The problem seems to stem from improper layout adjustments within the display stack.

To fix it, try setting a fixed height for your cont_common component and applying overflow: hidden. This should resolve the display issue in your module.

Hi, thanks for the reply. This settings did not help at all, header is still expanding.
Recording 2025-06-24 at 10.34.03
Just content is no dissapearing

Even setting the fixed height on the header and hide scroll wont work, header height seems good, but content still expands.
Recording 2025-06-24 at 10.37.34

WHy should it expand at all? Maybe some setting to help arranging stack-objects in edit-mode were not disabled in view-mode?