Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheel not working on Windows #6

Open
pistou opened this issue Jan 26, 2016 · 4 comments
Open

Wheel not working on Windows #6

pistou opened this issue Jan 26, 2016 · 4 comments

Comments

@pistou
Copy link

pistou commented Jan 26, 2016

It appears that scrolling is not working.
When I set wheel: true, scrolling works only for the first slide and only the very first time.

If you try to scroll again once on the second slide, nothing happens. Even if you come back manually to the first slide, you can't scroll anymore.

Your example has the same behaviour.

For the record, I tried on Chrome (Version 47.0.2526.111 m) only.
I just updated Chrome to v48.0 - still not working.

@jl-
Copy link
Owner

jl- commented Jan 26, 2016

That's weird, I just open the example page, clear chrome(48.0) browser cache, and it works as expected, woks fine on firefox as well expect for some jank animation. However, there's an similar issue on safari as wheel event behaves differently. Hopefully it will be fixed for Safari on next release, but for chrome, without reproducing the bug, I have no idea what might be the source of the problem. I'm using mac, are you on windows? platform difference leads to chrome's different behaviour, I could only guess for now.

@pistou
Copy link
Author

pistou commented Jan 26, 2016

Yes I'm on Windows. Doesn't work on both Windows 7 and Windows 10 😞

I'll try to tweek the sources and debugg it on my own as soon as I get a little time.

@pistou pistou changed the title Wheel not working Wheel not working on Windows Jan 26, 2016
@jl-
Copy link
Owner

jl- commented Jan 26, 2016

That would be awesome !! Here are some hints, hope it would help you out!

Thanks again and good luck!

@aga5tya
Copy link

aga5tya commented Jul 8, 2017

@jl- This issue still exists on windows with mouse. But can't be replicated on osx, with both mouse and trackpad.

The issue lies with the below line, post commenting this, everything works fine. Leaving this here for anyone who still has the issue on windows and mouse wheel.
https://github.com/jl-/react-slide-deck/blob/master/src/deck.js#L184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants