diff --git a/client/src/components/FoodSeeker/AddressDropDown.js b/client/src/components/FoodSeeker/AddressDropDown.js index eacdc620..79894d23 100644 --- a/client/src/components/FoodSeeker/AddressDropDown.js +++ b/client/src/components/FoodSeeker/AddressDropDown.js @@ -31,7 +31,9 @@ export default function AddressDropDown({ autoFocus }) { const handleInputChange = (delta) => { if (!delta) return; const safeValue = typeof delta === "string" ? delta : delta.target.value; - setInputVal(safeValue); + setTimeout(() => { + setInputVal(safeValue); + }, 100); if (safeValue) { fetchMapboxResults(safeValue); }