Ability to jumpTo (or similar) to slide instead of scrollTo
See original GitHub issueFeature request is related to
- The Vanilla JavaScript version
- The React version
- The Embla Carousel core (all versions)
- Documentation website
- Other
Is your feature request related to an issue?
- There are situations where I would like to create a Carousel in a modal overlay and jump to a specific slide rather than scrolling/animating to it.
Describe the solution you’d like
- Could a new set of methods (e.g.
jumpTo
orselect
) be added to allow a non-animated jump to a specific slide.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Scroll to an element with jQuery - javascript - Stack Overflow
I got the code from the article Smoothly scroll to an element without a jQuery ... solution: you could perhaps instead use something...
Read more >Scroll to the top of the page using JavaScript/jQuery
A scrollable page can be scrolled to the top using 2 approaches: Method 1: Using window.scrollTo(): The scrollTo() method of the window ...
Read more >Tree Ways to Scroll to an Element using Angular
First, I tried the simplest solution, which was the use of DOM commands like Element.scrollIntoView(), or document.
Read more >Stop swiping and start scrolling - The Showcase Workshop Blog
Instead of splitting your content across multiple slides, you create one tall, vertical slide that users will scroll through — like they would...
Read more >Smooth Scrolling | CSS-Tricks
Here's the code to perform a smooth page scroll to an anchor on the same page. It has some logic built in to...
Read more >
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
Amazing! Thankyou @davidcetinkaya will give it a try ASAP
@simon-mundy closing this as resolved. Feel free to open it if you run into any issues.
Best, David