Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: PresenceGroup fails to show items when presenceMotionSlot receives null #33248

Open
2 tasks done
bsunderhus opened this issue Nov 11, 2024 · 1 comment
Open
2 tasks done

Comments

@bsunderhus
Copy link
Contributor

Component

Other...

Package version

9.56.0

React version

17.0.2

Environment

.

Current Behavior

If a motion is created with presenceMotionSlot and null is provided to it, the PresenceMotion component fails to render the motion component properly

Expected Behavior

If a motion is created with presenceMotionSlot and null is provided to it, the PresenceMotion componenshould render the component with no motion

Reproduction

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

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

no assignees

Gentle ping that this issue needs attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant