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]: Motion does not apply styles consistently #33812

Open
2 tasks done
layershifter opened this issue Feb 10, 2025 · 0 comments · May be fixed by #33810
Open
2 tasks done

[Bug]: Motion does not apply styles consistently #33812

layershifter opened this issue Feb 10, 2025 · 0 comments · May be fixed by #33810

Comments

@layershifter
Copy link
Member

layershifter commented Feb 10, 2025

Component

Motion

Package version

9.58.2

React version

18

Environment

N/A

Current Behavior

Image

Expected Behavior

  • First two boxes are red (#ff0000)
  • Last two boxes are green (#008000)

Reproduction

https://stackblitz.com/edit/ylgfie6a

Steps to reproduce

  1. Go to https://stackblitz.com/edit/ylgfie6a
  2. Notice that the same motion definition is used in all cases
  3. Notice that the props combination visible: true, appear: false does not apply styles for the first box

Are you reporting an Accessibility issue?

None

Suggested severity

High - No workaround

Products/sites affected

Teams

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant