Skip to content

Conversation

@sai6855
Copy link
Contributor

@sai6855 sai6855 commented Jan 6, 2026

Replace last TranstionProps from demos.

image

Copilot AI review requested due to automatic review settings January 6, 2026 10:35
@sai6855 sai6855 added docs Improvements or additions to the documentation. scope: dialog Changes related to the dialog. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. package: material-ui Specific to Material UI. labels Jan 6, 2026
@sai6855 sai6855 requested a review from ZeeshanTamboli January 6, 2026 10:36
@mui-bot
Copy link

mui-bot commented Jan 6, 2026

Netlify deploy preview

https://deploy-preview-47569--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 5008d5b

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Dialog component demos to use the modern slotProps.transition API instead of the deprecated TransitionProps prop. This aligns the documentation with current Material-UI best practices.

Key Changes:

  • Replaced TransitionProps={{ onEntering: handleEntering }} with the slotProps.transition nested object syntax in the ConfirmationDialog demo

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/data/material/components/dialogs/ConfirmationDialog.tsx Updated TypeScript demo to use slotProps.transition instead of deprecated TransitionProps
docs/data/material/components/dialogs/ConfirmationDialog.js Updated JavaScript demo to use slotProps.transition instead of deprecated TransitionProps

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sai6855 sai6855 merged commit a37332a into mui:master Jan 6, 2026
19 checks passed
@ZeeshanTamboli ZeeshanTamboli mentioned this pull request Jan 8, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to the documentation. package: material-ui Specific to Material UI. scope: dialog Changes related to the dialog. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants