MCPcopy Index your code
hub / github.com/simstudioai/sim / onPointerDown

Function onPointerDown

apps/sim/hooks/use-auto-scroll.ts:125–127  ·  view source on GitHub ↗
(e: PointerEvent)

Source from the content-addressed store, hash-verified

123 * text-selection drag on content can't authorize a detach.
124 */
125 const onPointerDown = (e: PointerEvent) => {
126 if (e.target === el) pointerDownRef.current = true
127 }
128 const onPointerUp = () => {
129 pointerDownRef.current = false
130 }

Callers 1

dropdown-menu.tsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected