Skip to content

[Popover] Remove transition onX props#22184

Merged
mbrookes merged 4 commits into
mui:nextfrom
mbrookes:popover-remove-transition-onX-props
Aug 14, 2020
Merged

[Popover] Remove transition onX props#22184
mbrookes merged 4 commits into
mui:nextfrom
mbrookes:popover-remove-transition-onX-props

Conversation

@mbrookes

@mbrookes mbrookes commented Aug 13, 2020

Copy link
Copy Markdown
Member

Breaking change

The onE* transition props were removed. Use TransitionProps instead.

<Popover
-  onEnter={onEnter}
-  onEntered={onEntered},
-  onEntering={onEntered},
-  onExit={onEntered},
-  onExited={onEntered},
-  onExiting={onEntered}
+  TransitionProps={{
+    onEnter,
+    onEntered,
+    onEntering,
+    onExit,
+    onExited,
+    onExiting,
+  }}
/>

#17047 (comment)

@mbrookes mbrookes added breaking change Introduces changes that are not backward compatible. component: Popover The React component. labels Aug 13, 2020
@mbrookes mbrookes added this to the v5 milestone Aug 13, 2020
Comment thread docs/src/pages/guides/migration-v4/migration-v4.md Outdated
@mui-pr-bot

mui-pr-bot commented Aug 13, 2020

Copy link
Copy Markdown

Details of bundle changes

Generated by 🚫 dangerJS against cba8298

@mbrookes
mbrookes merged commit 183f267 into mui:next Aug 14, 2020
@mbrookes
mbrookes deleted the popover-remove-transition-onX-props branch August 14, 2020 07:48
@oliviertassinari oliviertassinari mentioned this pull request Sep 15, 2020
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. component: Popover The React component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants