Coder Social home page Coder Social logo

Comments (3)

9bitStudios avatar 9bitStudios commented on August 15, 2024

Hi there-- If you want to pause it but still be able to use the arrows changing the selector with the way things are currently won't have any effect because the arrows are contained inside of that .nbs-flexisel-inner container. If you look at line 149, that's where the flag gets set when the user hovers over the carousel if pauseOnHover is true. That canNavigate variable has to be true in order for the carousel to scroll by either a click or a timer event. To make things work the way you're wanting to you'd probably have to add another flag that detects a click event and execute the code in the scrollLeft and scrollRight methods if canNavigate is false due to a pause on hover.

from flexisel.

takebo avatar takebo commented on August 15, 2024

Hey 9bitStudios, thanks for the reply.
I actually removed the condition that verifies if pauseOnHover is true or not, then tried to tweak the code inside the mouseenter/mouseleave. It kinda worked, but i couldn't make it stop looping/overlaping the animation.

Cool, thanks, i'm going to try tweaking the code later as you mentioned.
Cheers!

from flexisel.

9bitStudios avatar 9bitStudios commented on August 15, 2024

Closing issue assumed to be inactive. Reopen if necessary...

from flexisel.

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.