React-slick: inconsistent animation for infinite scroll when lazyload enabled

Created on 4 Apr 2017  路  2Comments  路  Source: akiran/react-slick

normally, in all cases when lazyload is not enabled, clicking next when on last slide will animate "forward" to first slide as if the first slide repeats after last slide.

when lazyload is enabled, however, same action animates backward though all slides in between from last to first.

https://www.screencast.com/t/BtgPNqrU7

both animation styles are ok, but animation style should be a separate config option, independent of lazyload option.

apprears this code block is the cause for this inconsistent behaviour - https://www.screencast.com/t/6YBbG7CXr4H

Most helpful comment

@akiran any word on this? I a fix for this has been merged before but I am still seeing this behaviour.

All 2 comments

@akiran any word on this? I a fix for this has been merged before but I am still seeing this behaviour.

This issue looks to be fixed with this commit. https://github.com/akiran/react-slick/pull/762

I believe this can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eternalsky picture eternalsky  路  3Comments

vugman picture vugman  路  3Comments

rohitgoyal7 picture rohitgoyal7  路  3Comments

walker-jiang picture walker-jiang  路  3Comments

PolGuixe picture PolGuixe  路  3Comments