Skip to content

Conversation

@jzastrow
Copy link
Contributor

@jzastrow jzastrow commented Jan 5, 2016

To pay more attention to the scroller we want to display 60% of the last picture only. We set slidesToShow=4.6. Without this patch the 4.6 value is used to slice the array which results in the 4 beeing used.
This patch uses the Match.ceil() to fix this.

Fix partiallly visible elements when using fractional slidesToShow settings.
kenwheeler added a commit that referenced this pull request Feb 7, 2016
[lazyLoading] Fix partiallly visible elements
@kenwheeler kenwheeler merged commit 26c1db8 into kenwheeler:master Feb 7, 2016
@kenwheeler
Copy link
Owner

Thanks

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

Successfully merging this pull request may close these issues.

2 participants