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

mousewheel event doesn't work on Safari (tested on 5.1.7) for windows. #90

Closed
gui-yem opened this issue Dec 14, 2013 · 15 comments
Closed

Comments

@gui-yem
Copy link

gui-yem commented Dec 14, 2013

Hi, Thanks for this excelent plugin (very usefull).
It seems that mousewheel event doesn't work on Safari (tested on 5.1.7) for windows. is there a way to fix it properly ?
Thanks.

@brandonaaron
Copy link
Contributor

I just tried the test page on Safari 5.1.7 on Windows and it appear to be working as expected. Could you create a test case that shows how it isn't working? Here is the test page: http://brandonaaron.github.io/jquery-mousewheel/test/index.html

@gui-yem
Copy link
Author

gui-yem commented Dec 14, 2013

Thanks for quick reply.
I just tested the github test page by using safari and the mousewheel event doesn't work on my safari install (5.1.7 / windows 7).
What do you mean by "create a test case" ?

@brandonaaron
Copy link
Contributor

I can't reproduce that it is not working.

screen shot 2013-12-14 at 1 10 07 pm

Are you using a Virtual Machine? Does the mouse wheel work everywhere else in the operating system? Do you get a JavaScript error?

@gui-yem
Copy link
Author

gui-yem commented Dec 14, 2013

No i don't use virtual machine.
The mousewheel work everywhere in the operating system.
For javascript Error i don't find native javascript debbug tools on Safari. I will try to find an extension like Firebug for Safari ...
The native scroll works (example: window scrollbar) but the event 'mousewheel' doesn't work for me.
It seems i am the only guy with this problem because there is no message on Google about this issue. Maybe my Safari install is corrupted.
If i find more info about my issue i will let you know.
Thanks for time and help.
@+

@chestozo
Copy link

There must be some developer tools in safari by default but you need to enable them in preferences > advanced section first.

@gui-yem
Copy link
Author

gui-yem commented Dec 15, 2013

Hi, thanks for info. Finally i installed Firebug Lite extension for Safari. That makes the job. But as i said in my previous message it seems i am the only guy with this mousewheel event issue on Safari for windows. Maybe something wrong in my Safari install ... strange issue.

@brandonaaron
Copy link
Contributor

@gui-yem Did you have any success in tracking down the issue you are having?

@gui-yem
Copy link
Author

gui-yem commented Dec 16, 2013

Hi,
sorry i didn't find more info about my issue. I checked the page for javascript error but there is no error. Only the mousewheel event doesn't work. If someone use a native windows (not virtual machine) can say us if he has the same issue ... That would be usefull.

@brandonaaron
Copy link
Contributor

@gui-yem Does it work in other browsers on the same machine, particularly Chrome? Did you try to re-install Safari? Are you using an actual mouse wheel or some other type of a device (like a trackpad or drawing pad)?

@gui-yem
Copy link
Author

gui-yem commented Dec 17, 2013

Hi, yes it works in all other tested browsers (Firefox, Chrome, IE, Opera). It works in Chrome (webkit like safari) ...
I reinstalled Safari but that didn't fix my issue. I use a trackpad but i don't think that is the problem because the browser window scroll works by using this trackpad on Safari. Only the mousewheel event doesn't work.
I am going to try to test it on other computer (windows 7) to check if the issue exists.
I let you know.
Thanks.

@brandonaaron
Copy link
Contributor

@gui-yem Can you try the the 3.1.10-pre version found in the 3.1.x branch to see if it solves your issue? I just fixed an issue with Firefox and older versions of jQuery in that branch. I'm curious if it was the same problem you were having. https://raw2.github.com/brandonaaron/jquery-mousewheel/3.1.x/jquery.mousewheel.js

@gui-yem
Copy link
Author

gui-yem commented Feb 23, 2014

Hi Brandon,
i tested your version and now it works on safari (windows 7) but the scroll effect is very light ... certainly because deltaFactor is really more small on Safari.
Is there a clean way to standardise the deltaFactor on all browser ?
Thanks.
@+

@brandonaaron
Copy link
Contributor

@gui-yem You could try changing this setting: $.event.special.mousewheel.settings.adjustOldDeltas = false;

@TakuanDaikon
Copy link

I had the same issue with extremely slow scrolling and small delta in Safari and with Coherent UI, which was resolved by adding $.event.special.mousewheel.settings.adjustOldDeltas = false; as suggested. Thank you for posting that suggestion.

@danielsedlacek
Copy link

I was fighting with similar issue but my problem was https://bugs.webkit.org/show_bug.cgi?id=124139

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

5 participants