Repository navigation
refactor(MessageBar): migrate slide & fade to motion components - #33465
Merged
Robert Penner (robertpenner) merged 25 commits intoDec 20, 2024
Merged
Robert Penner (robertpenner) merged 25 commits into
Robert Penner (robertpenner) merged 25 commits into
Conversation
📊 Bundle size reportUnchanged fixtures
|
|
Pull request demo site: URL |
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 13, 2024 15:57
be4e312 to
8e80f7a
Compare
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 13, 2024 16:06
8e80f7a to
3b9ff97
Compare
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 13, 2024 16:16
55fabac to
d4bfcac
Compare
ling1726
reviewed
Dec 13, 2024
ling1726
previously requested changes
Dec 13, 2024
ling1726
left a comment
Contributor
There was a problem hiding this comment.
Blocking for a breaking change, to make sure it does not accidentally get merged
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
3 times, most recently
from
December 13, 2024 18:11
9fe67fb to
19bcb85
Compare
- based on code review
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 13, 2024 18:22
19bcb85 to
551a4a4
Compare
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 13, 2024 23:41
35cbf40 to
426e458
Compare
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 18, 2024 17:56
e1b26d4 to
0dc7242
Compare
- yarn nx format:check --base origin/master
Robert Penner (robertpenner)
force-pushed
the
refactor/messagebar-slide
branch
from
December 18, 2024 17:58
0dc7242 to
e55b7bb
Compare
…arMotion component - Otherwise, when state.animate changes, an elementType will change and React will remount a part of a tree, and children will loose their state
…component - This helps the React tree reconciliation, by keeping the React element type from changing.
Oleksandr Fediashov (layershifter)
approved these changes
Dec 20, 2024
Robert Penner (robertpenner)
enabled auto-merge (squash)
December 20, 2024 19:25
2 tasks done
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Mar 19, 2025
…ts (microsoft#33465)" This reverts commit 9c716b2.
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Mar 19, 2025
…ts (microsoft#33465)" This reverts commit 9c716b2.
Robert Penner (robertpenner)
added a commit
that referenced
this pull request
Mar 19, 2025
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Mar 19, 2025
Victor Genaev (mainframev)
pushed a commit
to mainframev/fluentui
that referenced
this pull request
Jun 9, 2025
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Sep 9, 2025
- Replace react-transition-group with @fluentui/react-motion components - Use PresenceGroup and custom MessageBarMotion component - Create custom fadeAtom and slideAtom motion definitions - Remove MessageBarTransition.tsx and related CSS animations - Add deprecation markers for unused properties - Update to latest motion package versions (react-motion ^9.10.4, react-motion-components-preview ^0.10.0) - Remove react-transition-group dependency This restores the motion component refactoring from PR microsoft#33465, which was reverted due to issue microsoft#33914. The underlying motion framework bug has been fixed in PR microsoft#34164.
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Sep 15, 2025
- Replace react-transition-group with @fluentui/react-motion components - Use PresenceGroup and custom MessageBarMotion component - Create custom fadeAtom and slideAtom motion definitions - Remove MessageBarTransition.tsx and related CSS animations - Add deprecation markers for unused properties - Update to latest motion package versions (react-motion ^9.10.4, react-motion-components-preview ^0.10.0) - Remove react-transition-group dependency This restores the motion component refactoring from PR microsoft#33465, which was reverted due to issue microsoft#33914. The underlying motion framework bug has been fixed in PR microsoft#34164.
Robert Penner (robertpenner)
added a commit
to robertpenner/fluentui
that referenced
this pull request
Sep 23, 2025
- Replace react-transition-group with @fluentui/react-motion components - Use PresenceGroup and custom MessageBarMotion component - Create custom fadeAtom and slideAtom motion definitions - Remove MessageBarTransition.tsx and related CSS animations - Add deprecation markers for unused properties - Update to latest motion package versions (react-motion ^9.10.4, react-motion-components-preview ^0.10.0) - Remove react-transition-group dependency This restores the motion component refactoring from PR microsoft#33465, which was reverted due to issue microsoft#33914. The underlying motion framework bug has been fixed in PR microsoft#34164.
Tudor Popa (tudorpopams)
pushed a commit
to tudorpopams/fluentui
that referenced
this pull request
Apr 14, 2026
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
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.

MessageBarGroup
Previous Behavior
MessageBarGroupanimations were implemented usingreact-transition-groupand CSS.New Behavior
MessageBarGroupanimations use motion components in a PresenceGroup.react-transition-groupdependency is removed... from all of v9!react-componentsis 7 kB smaller.MessageBarTransition.tsxis deleted.Testing Notes
MessageBarAnimation example. (PR build)Related Issue(s)