scrollTo's scroll direction is inconsistent
See original GitHub issuewhat I tried
Applying embla.scrollTo(1)
to the carousel having only two slides. (and loop: true
)
what I expected
New slide should appear from the right side.
what I got
New slide appears from the left side only the first time. This doesn’t occur with more than 3 elements.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@davidcetinkaya that’s exactly what I was trying to achieve, thanks so much!
thanks for the information @davidcetinkaya