Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(carousel): Use transitionend event instead of setTimeout
setTimeout for timing transitions can be iffy at best (especially when view port is obscured) This fix removes the setTimeout and replaces it with a "once" `transitionend` event
- Loading branch information
1 parent
0869ffd
commit 192dfb8
Showing
1 changed file
with
18 additions
and
24 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