-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #97 feat(props): add `adjustableHeight` prop Allow the height of the carousel to change based on its current content. * fix(example): Set fixed width slide content * fix(perf): only watch additional mutation events for adjustableHeight * fix(lint): Missing semi-colon Fix listing issue * fix(bug): adjustableHeight - Incorrect initial height The initial `currentHeight` prop of the carousel was not calculating correctly because the CSS was constraining the width of the `slide`. This is only noticeable when slide content is slow to load. The additional CSS ensures the slide width is correct when calculating the initial carousel height. * fix(bug): Add missing return statement
- Loading branch information
1 parent
6823411
commit f1e6314
Showing
7 changed files
with
214 additions
and
62 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
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
Oops, something went wrong.