Skip to content

Commit

Permalink
fix(vue): update parallax on Virtual slides rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 16, 2021
1 parent ce210f3 commit b78c6e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vue/virtual.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ function updateOnVirtualData(swiper) {
if (swiper.lazy && swiper.params.lazy.enabled) {
swiper.lazy.load();
}
if (swiper.parallax && swiper.params.parallax && swiper.params.parallax.enabled) {
swiper.parallax.setTranslate();
}
}

function renderVirtual(swiperRef, slides, virtualData) {
Expand Down

0 comments on commit b78c6e0

Please sign in to comment.