React-slick: Add animate argument to slickGoTo method

Created on 23 Sep 2016  路  7Comments  路  Source: akiran/react-slick

So it looks like the slick library accepts a second argument of a boolean to animate or not..

    Slick.prototype.goTo = Slick.prototype.slickGoTo = function(slide, dontAnimate) {

        var _ = this;

        _.changeSlide({
            data: {
                message: 'index',
                index: parseInt(slide)
            }
        }, dontAnimate);

    };

But it doesn't seem to be accepted in react-slick...

slickGoTo: function slickGoTo(slide) {
    this.innerSlider.slickGoTo(slide);
},
queued

Most helpful comment

Hello. How are things going with this issue? I also need to use this functionality.

All 7 comments

Hello. How are things going with this issue? I also need to use this functionality.

This would also be huge for me, any progress?

Any updates on this?

Checking in here, is there no current way to have the slickGoTo method animate?

Any updates on this issue? I would like to animate the slickGoTo method too.

The referenced commit should take care of it.

Could you release new version with this update?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amishPro picture amishPro  路  3Comments

jfamousket picture jfamousket  路  3Comments

will88 picture will88  路  3Comments

darkalor picture darkalor  路  4Comments

slashwhatever picture slashwhatever  路  3Comments