-
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
Vertical + centerMode results in wrong (active - 1) visible slide #2998
Comments
I might be making a stupid comment and I do not intend to offend: but did you know the slides start counting at 0? So if you set 'initial' slide 0 it is dot+slide 1? |
@Luneya nope, that's not the problem - look at the jsfiddle (http://jsfiddle.net/fzaof6x2/1/). I have just updated the jsfiddle. Previously i didn't fork it, so it was the original example link. |
Hmm.
The active slide is in the middle. But the height would probably be an issue? That might be fixable with some CSS. I myself don't really know how else to address this issue. |
fix vertical + centerMode issues (#2998)
It's too late to answer. but in my case, { centerPadding: "0px" } When I added this option, It works. |
I'm not sure why but it worked. Thank you! |
====================================================================
http://jsfiddle.net/fzaof6x2/1/
====================================================================
Steps to reproduce the problem
{ vertical:true, centerMode:true }
====================================================================
What is the expected behaviour?
slide-current
class (=> red background)====================================================================
What is observed behaviour?
slide-current
class (=> red background)====================================================================
More Details
The text was updated successfully, but these errors were encountered: