Skip to content

Conversation

@JayGeorge
Copy link

This PR fixes the inner stack height.

I noticed this issue with the Asset fieldtype where the "action" row was not being forced to the bottom of the stack correctly.

Adding a height of 100% to the inner container fixed this

Before

Notice the "action" bar containing Select and Cancel is not positioned at the bottom of the stack here.

2026-01-05 at 15 06 29@2x

After

2026-01-05 at 15 05 54@2x

JayGeorge and others added 2 commits January 5, 2026 15:02
…r, which fixes the bottom cancel/select row _not_ appearing at the bottom of the container

e.g. when selecting an asset in a stack from an Asset field
@jasonvarga
Copy link
Member

jasonvarga commented Jan 5, 2026

The added <FocusScope> was rendering a new div which caused the layout issue.
I've changed it to use the as-child prop, so it won't actually render a new div, falling back to how it was before and not needing to worry about adding h-full.

@jasonvarga jasonvarga merged commit 7085be3 into master Jan 5, 2026
11 checks passed
@jasonvarga jasonvarga deleted the fix-stack-focus-trap-height branch January 5, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants