Description
Component
Accordion
Package version
9.55.0
React version
18.2.0
Environment
-
Current Behavior
When the accordion header is longer than one line, the icon is centred vertically. See screenshot from stackblitz.
Expected Behavior
Expect the icon to be aligned vertically with the first line of text in the header
Reproduction
https://stackblitz.com/edit/fgeddy?file=src%2Fexample.tsx
Steps to reproduce
- Create an accordion with a long header text that overflows to more than 1 line
- Observe the icon's alignment issue.
Are you reporting an Accessibility issue?
None
Suggested severity
Medium - Has workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
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.