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

Function onLongPress

packages/react-aria/src/tooltip/usePreviewTrigger.ts:209–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 ? stringFormatter.format('longPressMessage')
208 : undefined,
209 onLongPress() {
210 shouldFocusOnOpen.current = true;
211 state.open(true);
212 }
213 });
214
215 // Keep the preview open while the pointer is anywhere within the safe area connecting the link

Callers

nothing calls this directly

Calls 1

openMethod · 0.65

Tested by

no test coverage detected