Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ onFocus
Function
onFocus
packages/react-aria-components/src/Wizard.tsx:658–662 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
656
return {
657
stepProps: {
658
onFocus() {
659
if (isCurrent) {
660
state.setFocused(true);
661
}
662
},
663
onBlur() {
664
state.setFocused(false);
665
}
Callers
3
Tree.test.tsx
File · 0.50
GridList.test.js
File · 0.50
Table.test.js
File · 0.50
Calls
1
setFocused
Method · 0.65
Tested by
no test coverage detected