Skip to content

fix(toast): keep anchored toasts above later-opened popovers - #845

Merged
sean-brydon merged 3 commits into
mainfrom
pasquale/fix-anchored-toast-z-index
Sep 5, 2026
Merged

sean-brydon merged 3 commits into
mainfrom
pasquale/fix-anchored-toast-z-index

Conversation

@pasqualevitiello

Copy link
Copy Markdown
Contributor

Summary

  • Raise the already-mounted anchored toast positioner from z-50 to z-9999 so a later-opened popover (same z-50) no longer covers it.
  • Stacked toasts stay at z-60; hover tooltips are unchanged.

Test plan

  • Trigger an anchored toast (e.g. copy confirmation / p-toast-7)
  • Open a popover while the toast is still visible
  • Confirm the toast stays above the popover
  • Confirm stacked (viewport) toasts and regular tooltips still layer as before

Made with Cursor

The anchored toast portal stays mounted at z-50, so a popover opened afterward stacks on top of it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coss-com Ready Ready Preview Sep 5, 2026 1:19pm UTC
coss-com-ui Ready Ready Preview Sep 5, 2026 1:19pm UTC
coss-examples-calcom Ready Ready Preview Sep 5, 2026 1:19pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
coss-com-origin Skipped Skipped Sep 5, 2026 1:19pm UTC

Request Review

@sean-brydon
sean-brydon merged commit 705cb73 into main Sep 5, 2026
13 checks passed
@sean-brydon
sean-brydon deleted the pasquale/fix-anchored-toast-z-index branch September 5, 2026 13:26
@linear-code

linear-code Bot commented Sep 5, 2026

Copy link
Copy Markdown

ENG-4146

This branch was successfully deployed

3 active and 1 inactive deployments
Preview – coss-com-ui 25bed971 Deployed Sep 5, 2026 by vercel[bot]
Preview – coss-examples-calcom 25bed971 Deployed Sep 5, 2026 by vercel[bot]
Preview – coss-com 25bed971 Deployed Sep 5, 2026 by vercel[bot]
Preview – coss-com-origin 25bed971 Deployed Sep 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants