From 805ecce96234b4c94f3e3ac88046d7ae1d838022 Mon Sep 17 00:00:00 2001 From: Archit Sharma <74408634+iArchitSharma@users.noreply.github.com> Date: Tue, 29 Aug 2023 21:44:21 +0530 Subject: [PATCH] Added autoFocus & reverted Timeout to 500ms Signed-off-by: Archit Sharma <74408634+iArchitSharma@users.noreply.github.com> --- src/reusecore/Search/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/reusecore/Search/index.js b/src/reusecore/Search/index.js index 635f01f4674b..2d873aac749d 100644 --- a/src/reusecore/Search/index.js +++ b/src/reusecore/Search/index.js @@ -37,9 +37,10 @@ const SearchBox = ({ type="text" value={searchQuery} minLength={1} - debounceTimeout={5000} + debounceTimeout={500} onChange={(e) => handleChange(e)} placeholder="Search..." + autoFocus />