MCPcopy Create free account
hub / github.com/react-component/input / handleKeyUp

Function handleKeyUp

src/Input.tsx:169–174  ·  view source on GitHub ↗
(e: React.KeyboardEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

167 onKeyDown?.(e);
168 };
169 const handleKeyUp = (e: React.KeyboardEvent<HTMLInputElement>) => {
170 if (e.key === 'Enter') {
171 keyLockRef.current = false;
172 }
173 onKeyUp?.(e);
174 };
175
176 const handleFocus: React.FocusEventHandler<HTMLInputElement> = (e) => {
177 setFocused(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…