Skip to content

Conversation

@Francois-Esquire
Copy link
Contributor

@Francois-Esquire Francois-Esquire commented Aug 7, 2023

Description

Use a pure CSS implementation to animate/transition height for the expanded Accordion.Panel in Accordion component.

Detail

There is long-standing issue with animating height change that affects the web, and the implementation here makes use of grid (specifically transitioning the grid-template-rows CSS property) to handle that animation.

Relates to #1570

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (yarn start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@Francois-Esquire Francois-Esquire merged commit cc14751 into main Aug 9, 2023
@Francois-Esquire Francois-Esquire deleted the mike/fix/dynamic-panel-height branch August 9, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants