-
Notifications
You must be signed in to change notification settings - Fork 13
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
hasMouse issue with Mozilla Firefox v53 #4
Comments
@pnarielwala I am unable to reproduce this issue with Firefox v53 on a MacBook Pro running macOS Sierra (it registers as |
I'm running it on Windows 10 on a Lenovo T440s. My device does not have a touch screen which makes it weird that it shows 'touchOnly'. This is what I get from your live detection test: deviceType: touchOnly Detect Hover: Detect Pointer: Detect Touch Events: Detect Passive Events: |
That is weird. There is a long standing issue of Firefox not implementing hover and point media queries which is why Detect Hover and Detect Pointer are all Can you run the following in your Firefox console (one at a time) and let me know the results, thanks: |
Sure here's what I got:
|
Thanks. Even the Firefox specific Do you know if this was an issue with Firefox v52 as well? I'll consider adding Firefox browser sniffing as a fix, probably something like if it's Firefox and it supports touch events, then call it a hybrid (because I don't think there is anyway to tell the difference between Firefox running on your laptop or on an actual hybrid, like a Surface). |
@pnarielwala I fixed this (sort of) in v3, see #5. Basically, if it registers as I know this means that your device with Firefox will register as a Essentially since it registers as |
@RAFREX that will work! Thanks! |
detect-it is showing the deviceType being touchOnly on the desktop Mozilla Firefox browser which definitely supports mouse events
The text was updated successfully, but these errors were encountered: