Auto refocus filterbox
This commit is contained in:
parent
32937f88e3
commit
254a2e0736
@ -131,6 +131,9 @@ export function FilterList({
|
||||
placeholder={placeholder}
|
||||
ref={searchBoxRef}
|
||||
onChange={filterUpdate}
|
||||
onBlur={(e) => {
|
||||
searchBoxRef.current!.focus();
|
||||
}}
|
||||
onKeyDown={(e: React.KeyboardEvent) => {
|
||||
// console.log("Key up", e);
|
||||
if (onKeyPress) {
|
||||
|
Loading…
Reference in New Issue
Block a user