-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the accordion component calculated and set an inline style for the expanded height in order to set a transition animation. This absolute height did not calculate the height of the nested content that expands after the first load. Our solution listens for the "toggleExpanded" event and sets the height to auto, allowing for nice nested accordion transition handling. Not covered: - multiple events firing at once do not get handled very well Changes to be committed: modified: apiExamples/collapsible.html modified: demo/index.md modified: src/auro-sidenav.js modified: src/auro-sidenavsection.js
- Loading branch information
Showing
2 changed files
with
92 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters