Giter Club home page Giter Club logo

Comments (4)

nicped avatar nicped commented on June 29, 2024

I think it can be one of 2 things. I just tested your markup and it seems to work fine with my local installation.

  • You might accidently initialize the script twice causing 2 autoplayers to run at the same time. If you load swiffy-slider.js in a script tag using src attribute, it will automatically initialize the slider instance - except if you add data-noinit attribute to the script tag. So try to remove your window.addEventListener and see if that will not fix the issue.
  • If each of the slides (or the content inside the slides) are wider than the swiffy-slider container, scrolling next can cause the slider to skip a slide as it will slide the width of the slide. So you can check in the developer tools of your browser if that looks ok.

BR Nicolai

from swiffy-slider.

pneumotube avatar pneumotube commented on June 29, 2024

Hi, thanks for a great slider!

It seems I managed to run into this too (Chrome 102):

slides-skip.mp4

Configurator settings. I reproduce this issue with this settings on Chrome Canary too.

from swiffy-slider.

nicped avatar nicped commented on June 29, 2024

Hi - thanks for trying it out!

I think this problem is 2 things - double loading and initialization of the slider (which happened on the configuration page) and a problem with dragging also reacting when using arrows. Never tested that since I thought you would not combine those.

Made an update of the configuration page that I believe fixes this issue.
c275359

Will also note that I do not see the dragging feature as a feature that should be used. It is really odd to have mouse dragging on these things (seen from a UX perspective)....

Thanks for giving it a spin and testing things out.

from swiffy-slider.

pneumotube avatar pneumotube commented on June 29, 2024

Okay, noted, thanks. I personally like to drag slider items, it seems to be a more natural movement for me (on the desktop of course). Easier than aiming at arrows :)

from swiffy-slider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.