In JavaScript, the webkitmouseforceup event is a proprietary WebKit / Safari Force Touch signal: sometime after webkitmouseforcedown, when pressure drops enough to end the force click, Safari sends webkitmouseforceup (MDN). It is a MouseEvent; read pressure with event.webkitForce.
Register a listener with addEventListener. Check readiness and browser support before you rely on this event.
Syntax
Listen for webkitmouseforceup. Start with this line.
JavaScript
el.addEventListener("webkitmouseforceup", fn)
Call
What it does
el.addEventListener("webkitmouseforceup", fn)
Primary signature.
Built into the browser. Listen with el.addEventListener("webkitmouseforceup", …) — no import required.
Library declarations
JavaScript
el.addEventListener("webkitmouseforceup", fn)
Parameters
Parameter
Description
Event target
Required. Element that received the force click
Prior webkitmouseforcedown
Required. MDN: force up comes after force down
Force Touch + Safari
Required. Otherwise the event never fires
Return Value
Return Value
Description
*
Fires as an Element event (listener receives the Event object).
JavaScript Examples
Example 1 — Listen for Force Click End
Log when Safari reports a force-click exit.
JavaScript
const pad = document.getElementById("pad");
const out = document.getElementById("out");
pad.addEventListener("webkitmouseforceup", () => {
out.textContent = "webkitmouseforceup fired";
});
Feature-detect. Looking for onwebkitmouseforceup is a common Safari check.
Branch the UX. Only attach Force Touch when support exists.
Plan a fallback. Clear the same UI on pointerup / mouseup.
Do not require it. Most users will take the fallback path.
Compatibility
Browser Support
webkitmouseforceup is Non-standard on MDN — proprietary Safari / WebKit Force Touch. Not Baseline. Not part of any web specification. Prefer portable clear-on-release or Pointer Events for cross-browser apps.
✓ Non-standard
Element webkitmouseforceup
Safari Force Touch force-click exit only. Not available in Chrome, Firefox, or Edge as a standard event.
SafariWebKit only
Google ChromeNot supported (use fallback)
Unavailable
Mozilla FirefoxNot supported (use fallback)
Unavailable
Apple SafariForce Touch hardware / WebKit
Supported
Microsoft EdgeNot supported (use fallback)
Unavailable
OperaNot supported
Unavailable
Internet ExplorerNot supported
Unavailable
webkitmouseforceupLimited
Bottom line: Optional Safari enhancement. Clear the same UI on pointerup / mouseup for everyone else.
Frequently Asked Questions
Sometime after webkitmouseforcedown, when pressure has been reduced enough to end the force click, Safari fires webkitmouseforceup (MDN). It is the Force Touch “force click ended” signal.
MDN marks it Non-standard only — not Deprecated and not Experimental. It is not part of any web specification. Prefer portable APIs for production.
A MouseEvent (inherits from UIEvent / Event). Read pressure with the non-standard MouseEvent.webkitForce property.
webkitmouseforcedown fires when pressure reaches force-click level. webkitmouseforceup fires later when pressure drops enough to leave that force-click state.
Prefer Pointer Events (clear timers or UI on pointerup/pointercancel) with mouse/touch fallbacks. Treat Force Touch as an optional Safari enhancement only.
Use element.addEventListener("webkitmouseforceup", handler), or set onwebkitmouseforceup where supported. Always feature-detect first.