MCPcopy Index your code
hub / github.com/adobe/react-spectrum / focusNext

Method focusNext

packages/react-aria/src/focus/FocusScope.tsx:58–58  ·  view source on GitHub ↗

Moves focus to the next focusable or tabbable element in the focus scope.

(opts?: FocusManagerOptions)

Source from the content-addressed store, hash-verified

56export interface FocusManager {
57 /** Moves focus to the next focusable or tabbable element in the focus scope. */
58 focusNext(opts?: FocusManagerOptions): FocusableElement | null;
59 /** Moves focus to the previous focusable or tabbable element in the focus scope. */
60 focusPrevious(opts?: FocusManagerOptions): FocusableElement | null;
61 /** Moves focus to the first focusable or tabbable element in the focus scope. */

Callers 9

onClickFunction · 0.65
onClickFunction · 0.65
onMouseDownFunction · 0.65
onKeyDownFunction · 0.65
onKeyDownFunction · 0.65
onKeyDownFunction · 0.65
onInputFunction · 0.65
useDateSegmentFunction · 0.65

Calls

no outgoing calls

Tested by 3

onClickFunction · 0.52
onClickFunction · 0.52
onMouseDownFunction · 0.52