question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to jumpTo (or similar) to slide instead of scrollTo

See original GitHub issue

Feature 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 or select) be added to allow a non-animated jump to a specific slide.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
simon-mundycommented, Apr 12, 2021

Amazing! Thankyou @davidcetinkaya will give it a try ASAP

0reactions
davidjerlekecommented, Apr 13, 2021

@simon-mundy closing this as resolved. Feel free to open it if you run into any issues.

Best, David

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found