-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
slickAdd and slickRemove methods not implemented #1061
Comments
Not going to be implemented, the same functionality can be achieved as with dynamic slides. See dynamic slides example. |
tbh I'm not sure this is correct. I am trying to add and remove a slide for opposite ends of an array: (assuming we progress the slider to the right one) Changing the array seems ok, but without actually having control over |
I'm not sure I understand your query, but Dynamic Slides example should help you. |
Sorry I'll try and be clearer... https://codesandbox.io/s/z3yy44vyyp I need to load new content into the slides, and remove old content (see ternary switch swapping the arrays in the example). However, whenever I load more content in, I still need the active slide (the center one) to be in the same position. currently, it'll shift one to the 'right' (imagine here I'm loading the content on each progression, rather than a button click) With access to the
Dynamic slides work very well in situations where the fundamental slides don't change, however removing slides that are previous to the active slide doesn't keep the index correctly. If I can change the |
No description provided.
The text was updated successfully, but these errors were encountered: