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(accordion): move padding to inner element to use proper animation #30032

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Nov 21, 2024

Issue number: internal


What is the current behavior?

The animation is off for the ionic theme when using an accordion with text content.

What is the new behavior?

  • Moves the padding to the inner content element so the offsetHeight will be calculated properly and the animation will be smooth

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 10:12pm

@github-actions github-actions bot added the package: core @ionic/core package label Nov 21, 2024
@brandyscarney brandyscarney marked this pull request as ready for review November 21, 2024 22:25
@brandyscarney brandyscarney requested a review from a team as a code owner November 21, 2024 22:25
@brandyscarney brandyscarney requested review from christian-bromann and thetaPC and removed request for christian-bromann November 21, 2024 22:25
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brandyscarney brandyscarney merged commit ff93af7 into next Nov 22, 2024
47 checks passed
@brandyscarney brandyscarney deleted the ROU-11362 branch November 22, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants