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.

Feature: Infinite

See original GitHub issue

Hi there.

Love the implementation and declarative style of this library. The only thing keeping my company and I from using this lib is that its missing the infinite option (see https://react-slick.neostack.com/). The feature is essentially: if we're currently on the last slide and the user hits the next button, go to the first set of slides. if we're on the first set of slides and the user hits the back button, go to the last set of slides. All around, it is a better user experience than completely disabling the next/back buttons.

Example:

Aug-29-2019 08-55-13

I’ve started to implement the feature as you can see above, and it seems like it’ll take minimum effort to add the feature. Looking for your thoughts on adding this feature before I go any further to support edge cases (e.g. where the total number of slides is not divisible by the visible slides) and add tests.

EDIT:

This is an optional prop. Without passing the prop, you get the original functionality.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
rishabh2712commented, Sep 24, 2021

Currently, the slider, after the last slide, goes through all the slides till the first to start again.

What is desired is after the last slide, slider goes to first slide as if its the next slide seamlessly. How to achieve this?

2reactions
Aca1995commented, Apr 1, 2021

Hello guys, small question about this. 😃

If we’re currently on the last slide and we hit next button, is it possible to go to the first slide without slider going all back to it, but to slide to it normally, so that the first slide appear immediately after the last slide?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Infinite Feature Selection | IEEE Conference Publication
In this paper, we propose a feature selection method exploiting the convergence properties of power series of matrices, and introducing the concept of...
Read more >
Infinite Feature Selection - CVF Open Access
In this paper, we propose a feature selection method exploiting the convergence properties of power series of matrices, and introducing the concept of...
Read more >
Infinite Feature Selection - File Exchange - MATLAB Central
InfFS allows you to rank a huge list of feature, even more than 40000 features and 10000 samples. 4.5. (4). 1.5K Downloads.
Read more >
[2006.08184] Infinite Feature Selection: A Graph-based ... - arXiv
We propose a filtering feature selection framework that considers subsets of features as paths in a graph, where a node is a feature...
Read more >
Streaming Inference for Infinite Feature Models
Streaming Inference for Infinite Feature ModelsRylan Schaeffer, Yilun Du, Gabrielle K Liu, Ila FieteUnsupervised learning from a continuous st...
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