Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReactTooltip/react-tooltip
/ onKeyDown
Function
onKeyDown
src/components/Tooltip/focus-open.ts:50–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
function
onKeyDown() {
51
lastInputWasKeyboard = true
52
}
53
54
function
onPointerDown() {
55
lastInputWasKeyboard = false
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected