You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google Chrome Version 87.0.4280.88 (Official Build) (x86_64)
What information was incorrect, unhelpful, or incomplete?
Missing one Vibration API to check whether developer can trigger vibration or not.
What did you expect to see?
Allow me to trigger vibration when user interact with UI elements.
Did you test this? If so, how?
I tried to trigger vibration after element clicked (click and on hold), and trigger event in touchmove, but if finger still on hold, vibrate API will still assume user not yet interact, and throw error below.
[Intervention] Blocked call to navigator.vibrate because user hasn't tapped on the frame or any embedded frame yet: .
User activation handling seems to be an implementation-specific feature at this point: it's not mentioned in the spec and was added to Blink in M60.
User activation itself is part of the HTML spec these days though, and if I understood this issue correctly the idea in this issue is to add more events to the list of activation triggering input events, right? If so, it might be better to file an issue against the HTML spec itself.
Google Chrome Version 87.0.4280.88 (Official Build) (x86_64)
What information was incorrect, unhelpful, or incomplete?
Missing one Vibration API to check whether developer can trigger vibration or not.
What did you expect to see?
Allow me to trigger vibration when user interact with UI elements.
Did you test this? If so, how?
I tried to trigger vibration after element clicked (click and on hold), and trigger event in touchmove, but if finger still on hold, vibrate API will still assume user not yet interact, and throw error below.
[Intervention] Blocked call to navigator.vibrate because user hasn't tapped on the frame or any embedded frame yet: .
MDN page report details
api.Navigator.vibrate
The text was updated successfully, but these errors were encountered: