Skip to content

stopAuto() not working correctly? #134

@cliveyg

Description

@cliveyg

Hi,

Is there a problem with stopAuto()? When I call it it doesn't stop the carousel/slider. I've put some debug in the function and can see it has been triggered but the carousel/slider doesn't stop. Weirdly when setting autoHover to 'true' stopAuto works fine when mousing over the carousel/slider.

I'm using Slippry 1.4.0, with JQuery 3.2.1 and have tried it with both Firefox 57.0 and Chrome 62.0.3202.94 on Mac.

My code to start the slider:

$("#bs-rotate").slippry({

    slippryWrapper: '<div class="sy-box pictures-slider" />', 
    adaptiveHeight: false, // height of the sliders adapts to current slide
    captions: false, // Position: overlay, below, custom, false
    pager: false,
    controls: false,
    autoHover: true,
    transition: 'fade',
    speed: 3000, //time the transition takes (ms)
    useCSS: false //need to set this false as the transitions are very jumpy without it

});

My code to stop the slider:

var el = $("#bs-rotate");
el.slippry().stopAuto();

I also tried el.stopAuto() with the same result.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions