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

Function isIgnored

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

Source from the content-addressed store, hash-verified

138 settle = setTimeout(sync, SETTLE_MS);
139 };
140 const isIgnored = (event: PointerEvent) =>
141 !!ignoreRef?.current?.contains(event.target as Node);
142 const onPointerDown = (event: PointerEvent) => {
143 if (!isIgnored(event)) {
144 setSelection(null);

Callers 2

onPointerDownFunction · 0.70
onPointerUpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected