Skip to content

navigator.vibrate - works on iOS Safari #29166

Description

@Southclaws

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

Navigator's vibrate functionality works on iOS Safari now. I'm not entirely sure when this was supported, I last tested around 2023. At the time of writing, it works. Tested on iPhone on this site that popped up on Lobste.rs https://haptics.lochie.me/

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

No vibration pattern on iOS Safari, as mentioned on https://caniuse.com/mdn-api_navigator_vibrate and https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API#browser_compatibility

Did you test this? If so, how?

Yes, iOS Safari on https://haptics.lochie.me/ which calls navigator.vibrate()

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

Do you have anything more you want to share?

I'm not sure what version of Safari I have, iOS doesn't seem to make it easy to find. But it's a non-beta build of iOS on the latest version.

MDN URL

No response

MDN metadata

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions