-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Dynamic itemsPerSlide on carousel #5723
Labels
Comments
Would love to get some sort of ETA on this, seems like a much needed feature for a carousel in a responsive environment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Due to client requests, we need to be able to switch dynamically
itemsPerSlide
. The use case would be to have a multilist carousel. For desktop we will have N itemsPerSlide, but on mobile, we just want one slide active at the time.Describe the solution you'd like
I would like to be able to call a public method on the component that allows me to recalculate all active slides on the screen based on
itemsPerSlide
variable.Describe alternatives you've considered
At the moment,
itemsPerSlide
is read-only on component initialization and never again, was wondering if we could expose a method to actually recompute active slides on the viewport.The text was updated successfully, but these errors were encountered: