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

Function onPointerDown

packages/react-aria/src/datepicker/useDateSegment.ts:421–423  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

419 style: segmentStyle,
420 // Prevent pointer events from reaching useDatePickerGroup, and allow native browser behavior to focus the segment.
421 onPointerDown(e) {
422 e.stopPropagation();
423 },
424 onMouseDown(e) {
425 e.stopPropagation();
426 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected