-
-
Notifications
You must be signed in to change notification settings - Fork 598
[6.x] Stacks updates #13350
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
Merged
Merged
[6.x] Stacks updates #13350
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the examples themselves don't render. i've created an issue for that in linear.
duncanmcclean
added a commit
to statamic/docs
that referenced
this pull request
Dec 15, 2025
# Conflicts: # resources/js/components/ui/Stack/Stack.vue
…re, the stack abruptly vanishes (and triggers console warnings)
- config changes needed because its not available on window and it doesnt get get initialized - css transform gets undone so the portal targets can break out to full size. not sure why the scale needed to be there in the first place but this seemed fine.
This was referenced Jan 8, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request aims to make Stacks more developer friendly and consistent.
Open State
The open state is now controlled the same way as modals.
The open state can be controlled using two-way bindings:
Alternatively, you may provide a
triggerslot where the stack will maintain the open state internally:Header
You may provide
titleandiconprops which will be used to render the stack header:You can use the
header-actionsslot to add buttons or other elements.Footer
You can use
footer-startandfooter-endto add a footer and populate the left/right parts of it.Both the header and footer will be fixed while the content area is scrollable.
Composable
If you need more control, you can compose the items yourself.
Padding
The content area will be padded by default. If you want to get rid of it, you can use the
insetprop.Breaking change
This is a breaking change. To upgrade:
<stack>, but now it's either:<ui-stack>orimport { Stack } from '@statamic/cms/ui'and<Stack>@closedevent, that's still available.insetprop to get rid of newly added padding.