MCPcopy Create free account
hub / github.com/dailydotdev/apps / onPointerLeave

Function onPointerLeave

packages/shared/src/components/shell/ShellCluster.tsx:411–415  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409 // Without capture (a plain press that never moved) the finger can leave
410 // the bar; the lift ends with it.
411 const onPointerLeave = () => {
412 if (pointer.current && !pointer.current.moved) {
413 endDrag();
414 }
415 };
416
417 const onPointerUp = (event: React.PointerEvent<HTMLDivElement>) => {
418 const { current } = pointer;

Callers

nothing calls this directly

Calls 1

endDragFunction · 0.85

Tested by

no test coverage detected