-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Center even number of horizontal slides when centerMode is true #2118
Conversation
I just learned my |
The `rtl` condition was a mistake and completely unnecessary
Fixed
|
Nice! I made a demo confirming that asNavFor works. |
wow... 👏 ... I've never seen another PR with this amount of tests :) Thanks @engelfrost |
Any progress on that? 👍 |
Is it possible somehow to align the screen's left the first slide, when |
@DJviolin If I understand you correctly this PR does not do what you are looking for. There are examples above that demonstrate what this PR does and does not do. |
Are there any updates on this or when we may see a release? |
Got the indentation wrong somehow, fixed it
Any progress on getting this merged into master? Is there anything I can help with? |
Thanks @engelfrost |
Thank you for this wonderful plugin and the update. But it seems that only the slick.js file has been updated and not slick.min.js. |
Before: http://jsfiddle.net/o7nkhnow/2/ edit updated with correct use of
rtl
After: http://jsfiddle.net/gy1jy44j/2/ edit updated with correct fix for
rtl
This MR centers an even number of slides when
_.slideCount <= _.options.slidesToShow
for horizontal sliders.If you want me to test more options please let me know and I'll be happy to do so.