Giter Site home page Giter Site logo

Don't work correct on mouse wheel. about sly HOT 4 CLOSED

darsain avatar darsain commented on August 19, 2024
Don't work correct on mouse wheel.

from sly.

Comments (4)

darsain avatar darsain commented on August 19, 2024

I feel like a parrot asking people to replicate bugs on jsfiddle, but can you at least post with what options are you calling sly? Or just about anything that could give me at least a chance deducing the problem on my own?

from sly.

alexanderleo avatar alexanderleo commented on August 19, 2024

Used: MacOS 10.8.2, Safari 6.0.2
Sly options:
$('#product-list').sly({
horizontal: 1,
itemNav: 'smart',
dragging: 1,
startAt: 0,
scrollBy: 1,
elasticBounds: 10,
speed: 500,
easing: 'linear'
});
As I already wrote, when scrolling (mouse wheel) sly moved from the first to the last item without stopping.
I see this bug on your site too: http://darsa.in/sly/

27.01.2013, â 5:31, Darsain [email protected] íàïèñàë(à):

I feel like a parrot asking people to replicate bugs on jsfiddle, but can you at least post with what options are you calling sly? Or just about anything that could give me at least a chance deducing the problem on my own?


Reply to this email directly or view it on GitHub.

from sly.

darsain avatar darsain commented on August 19, 2024

Which one of the examples are doing that for you? And what browser, device are you using?

from sly.

darsain avatar darsain commented on August 19, 2024

I was unable to replicate this. I thought that you are passing big scrollBy number in item based navigation, which would explain it, but if you are sure that you have scrollBy: 1, than I don't know :)

That said, I do not have access to any Mac, and Safari 6 seems to be un-available on Windows, so I was testing it on 5.1.7.

If you are saying that even the demo page does that, (while it works everywhere for me), than it probably has to be the input device submitting a lot of DOMMouseScroll/mousewheel events. I don't see any other cause of this behavior.

from sly.

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.