Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any plan to create Infinite Slider? #10

Open
ProPhycient5 opened this issue Dec 22, 2022 · 1 comment
Open

Is there any plan to create Infinite Slider? #10

ProPhycient5 opened this issue Dec 22, 2022 · 1 comment

Comments

@ProPhycient5
Copy link

The above gif is the actual infinite slider component. I want to build this in ReactJS without manipulating DOM(without using prepend and append methods). I want to implement this by using transform CSS property with value as translateX(domWidth). I am able to slide each card in right and left directions, if any element is present in the right and left directions respectively.

However, I cannot translate smoothly (as shown in the GIF) to first card when I am at last card and click right arrow. Similarly, when I am about to translate to last card when I am at first and click left arrow.

How can I handle this extreme situation and create alike like attached?

Are you guys planning to build such a dynamic component ?
infinite_slider

@ari7946
Copy link
Contributor

ari7946 commented Mar 24, 2023

@ProPhycient5 Hi, is there a repo that shows your progress so far? I am also interested in a slider/carousel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants