Skip to content

[toast] Fix provider prop effect ordering - #5338

Merged
atomiks merged 1 commit into
mui:masterfrom
atomiks:codex/fix-toast-provider-effect-order
Jul 27, 2026
Merged

atomiks merged 1 commit into
mui:masterfrom
atomiks:codex/fix-toast-provider-effect-order

Conversation

@atomiks

@atomiks atomiks commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Toast provider props were synchronized after descendant layout effects, so same-commit toast additions could use stale timeout and limit values.

Changes

  • Synchronize provider timeout and limit before descendant layout effects.
  • Add regression coverage for timeout, limit, and abandoned renders.

@atomiks atomiks added component: toast Changes related to the toast component. type: bug It doesn't behave as expected. labels Jul 26, 2026 — with ChatGPT Codex Connector
@pkg-pr-new

pkg-pr-new Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@5338
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5338
    

commit: f7ba616

@code-infra-dashboard

code-infra-dashboard Bot commented Jul 26, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+100B(+0.02%) 🔺+36B(+0.02%)

Details of bundle changes

Performance

Total duration: 1,471.42 ms +15.46 ms(+1.1%) | Renders: 78 (+0) | Paint: 2,286.47 ms +1.11 ms(0.0%)

Test Duration Renders
Scroll Area mount (300 instances) 104.56 ms 🔺+17.84 ms(+20.6%) 3 (+0)

14 tests within noise — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Jul 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit f7ba616
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a66eb8835e5250008c90245
😎 Deploy Preview https://deploy-preview-5338--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@atomiks
atomiks marked this pull request as ready for review July 27, 2026 04:53
@atomiks
atomiks force-pushed the codex/fix-toast-provider-effect-order branch from 4d89e0f to f7ba616 Compare July 27, 2026 05:24
@atomiks
atomiks merged commit b38093d into mui:master Jul 27, 2026
6 checks passed
@atomiks
atomiks deleted the codex/fix-toast-provider-effect-order branch August 11, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: toast Changes related to the toast component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant