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

Safari Mac Pressure sometimes not working #5

Closed
imevro opened this issue Jan 23, 2016 · 12 comments
Closed

Safari Mac Pressure sometimes not working #5

imevro opened this issue Jan 23, 2016 · 12 comments

Comments

@imevro
Copy link

imevro commented Jan 23, 2016

image

@stuyam
Copy link
Owner

stuyam commented Jan 23, 2016

@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?

@imevro
Copy link
Author

imevro commented Jan 23, 2016

@yamartino yep, it's trackpad on a laptop, I don't have external one or mouse. It fails every time, examples don't work :(

@stuyam
Copy link
Owner

stuyam commented Jan 23, 2016

@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 :)

@imevro
Copy link
Author

imevro commented Jan 24, 2016

You're right! Thanks, you give me an answer why Quick Look suddenly stops working 😔

@imevro imevro closed this as completed Jan 24, 2016
@dcorb
Copy link

dcorb commented Mar 1, 2016

Same here
image
Force quitting Safari didn't work

@stuyam
Copy link
Owner

stuyam commented Mar 1, 2016

@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 😄

@dcorb
Copy link

dcorb commented Mar 2, 2016

@yamartino still the same after rebooting. It says not supported. Safari 9.0.3
Tell me if I can do something to help you. I tried by my own in this codepen .. no luck neither.
http://codepen.io/dcorb/pen/WwvXOv

@stuyam
Copy link
Owner

stuyam commented Mar 3, 2016

@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!

@stuyam stuyam reopened this Mar 4, 2016
@dcorb
Copy link

dcorb commented Mar 5, 2016

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.

@stuyam
Copy link
Owner

stuyam commented Mar 6, 2016

@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 ;)

@stuyam
Copy link
Owner

stuyam commented Mar 18, 2016

Anyone having issues with Safari on a 2015 of higher Macbook Pro, reference this thread!

@stuyam stuyam reopened this Mar 18, 2016
@stuyam stuyam changed the title Wrong pressure test result Safari Mac Pressure sometimes not working Mar 26, 2016
@stuyam stuyam closed this as completed Sep 15, 2016
@jespertheend
Copy link

I was having issues with force touch on the trackpad not working. Turned out I had the 'Force Click and haptic feedback' disabled in system preferences.
screen shot 2017-07-30 at 17 40 12

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

4 participants