MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onPointerLeave

Function onPointerLeave

packages/react-aria/src/tooltip/useSafeArea.ts:72–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70
71 // If the pointer leaves the document entirely, it is no longer in the safe area.
72 let onPointerLeave = () => onSafeAreaChange(false);
73
74 let win = getOwnerWindow(trigger);
75 let doc = getOwnerDocument(trigger);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected