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

Update useCarousel - timeline based transition #174

Open
VictorGa opened this issue Aug 11, 2023 · 0 comments
Open

Update useCarousel - timeline based transition #174

VictorGa opened this issue Aug 11, 2023 · 0 comments

Comments

@VictorGa
Copy link
Contributor

VictorGa commented Aug 11, 2023

I believe the current useCarousel together with the other related hooks could be improved by changing the current core functionality, directly transforming child position onDrag by having the onDrag scrubbing a timeline with the preset positioning and sizing for each item.

I found a demo in codepen that represents best I mean.
Demo

We can keep the high level architecture, but it will require rework on calculations and timeline creation.

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

1 participant