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

Method focusLast

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

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

(opts?: FocusManagerOptions)

Source from the content-addressed store, hash-verified

78 focusFirst(opts?: FocusManagerOptions): FocusableElement | null;
79 /** Moves focus to the last focusable or tabbable element in the focus scope. */
80 focusLast(opts?: FocusManagerOptions): FocusableElement | null;
81}
82
83type ScopeRef = RefObject<Element[] | null> | null;

Callers 1

onKeyDownFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected