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

Function onPointerUp

packages/shared/src/features/snapshot/useTextSelection.ts:147–154  ·  view source on GitHub ↗
(event: PointerEvent)

Source from the content-addressed store, hash-verified

145 }
146 };
147 const onPointerUp = (event: PointerEvent) => {
148 if (isIgnored(event)) {
149 return;
150 }
151
152 clearTimeout(settle);
153 sync();
154 };
155
156 document.addEventListener('selectionchange', onSelectionChange);
157 document.addEventListener('pointerdown', onPointerDown);

Callers

nothing calls this directly

Calls 2

isIgnoredFunction · 0.70
syncFunction · 0.50

Tested by

no test coverage detected