Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ focus
Function
focus
packages/react-aria/src/datepicker/useDateField.ts:187–189 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
185
{
186
...props,
187
focus() {
188
focusManager.focusFirst();
189
}
190
},
191
state,
192
props.inputRef
Callers
nothing calls this directly
Calls
1
focusFirst
Method · 0.80
Tested by
no test coverage detected