-
Notifications
You must be signed in to change notification settings - Fork 97
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
Safari Mac Pressure sometimes not working #5
Comments
@theaqua thanks for bringing this to my attention. So you are testing on your trackpad on your laptop that has force touch? I have an external trackpad and sometimes I forget and use what which doesn't work obviously, but I just want to make sure. When you refresh safari and try again does it fail every time? Do any of the examples work? |
@yamartino yep, it's trackpad on a laptop, I don't have external one or mouse. It fails every time, examples don't work :( |
@theaqua try restarting Safari, there is a bug in Safari that I have tried to alert Apple about. If Safari is open for too long sometimes their force events stop working. Thanks for helping me out! Let me know if that works :) |
You're right! Thanks, you give me an answer why Quick Look suddenly stops working 😔 |
@dcorb could you do me a favor and try quitting safari, restarting your computer, and trying again? These issues usually come from issues with the webkit force events being triggered by the Mac. The Mac implementation of pressure is basically just using the Safari api so if it is giving you a failure like this a lot of the time it is an Apple issue. Let me know what you find! Thanks man 😄 |
@yamartino still the same after rebooting. It says not supported. Safari 9.0.3 |
@dcorb thanks for the feedback and the testing you have done to help. I made a small jsfiddle: https://jsfiddle.net/2eLdv0qc/5/ Give it a test, when you are in safari and click the red box, does it give you an alert and console log? This example is basically directly off of Apple's documentation, I am just curious to see that it works at all before debugging pressure. Thanks for all of the help, this is great! |
Your test case in jsfiddle doesn't work for me. So there is little that pressurejs can do here I guess. I rebooted, still same. |
@dcorb sorry to hear that. Yeah sounds like there may be a bug in safari for you. Not sure what is happening there. Bummer that safari is so buggy. I hope it gets better for pressure's and your sake. Thank you for all the help trying to work through this. Closing for now until someone else finds another safari bug ;) |
Anyone having issues with Safari on a 2015 of higher Macbook Pro, reference this thread! |
The text was updated successfully, but these errors were encountered: