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

fix: Keep accordion details mounted for transition #1064

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

usame-algan
Copy link
Member

@usame-algan usame-algan commented Nov 4, 2022

For some reason we had the unmountOnExit prop set for the accordions which made the animation look choppy.

Before:

Screen.Recording.2022-11-04.at.15.54.50.mov

After:

Screen.Recording.2022-11-04.at.15.55.35.mov

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d6e27f
Status: ✅  Deploy successful!
Preview URL: https://6216b402.web-core.pages.dev
Branch Preview URL: https://accordion-transition.web-core.pages.dev

View logs

@francovenica
Copy link
Contributor

LGTM. Checked on chrome, FF and Brave
animation

@usame-algan usame-algan merged commit 022395d into dev Nov 10, 2022
@usame-algan usame-algan deleted the accordion-transition branch November 10, 2022 08:20
@usame-algan usame-algan mentioned this pull request Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants