Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ onPress
Function
onPress
packages/react-aria/src/datepicker/useDatePickerGroup.ts:129–133 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
127
}
128
},
129
onPress(e) {
130
if
(e.pointerType ===
'touch'
|| e.pointerType ===
'pen'
) {
131
focusLast();
132
}
133
}
134
});
135
136
// oxlint-disable-next-line react/react-compiler
Callers
nothing calls this directly
Calls
1
focusLast
Function · 0.70
Tested by
no test coverage detected