[Bug]: PresenceGroup fails to show items when presenceMotionSlot receives null #33248
Open
2 tasks done
Labels
Fluent UI react-components (v9)
Needs: Attention
Package: motion
react-motion related changes
Type: Bug 🐛
Component
Other...
Package version
9.56.0
React version
17.0.2
Environment
.
Current Behavior
If a motion is created with
presenceMotionSlot
andnull
is provided to it, thePresenceMotion
component fails to render the motion component properlyExpected Behavior
If a motion is created with
presenceMotionSlot
andnull
is provided to it, thePresenceMotion
componenshould render the component with no motionReproduction
https://stackblitz.com/edit/bzsmgx?file=src%2Fexample.tsx
Steps to reproduce
No steps required, just open the reproduction and verify that no item is being rendered while
collapseMotion={null}
Are you reporting an Accessibility issue?
None
Suggested severity
Urgent - No workaround and Products/sites are affected
Products/sites affected
TMP
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: