hibiken / react-places-autocomplete

React component for Google Maps Places Autocomplete
https://hibiken.github.io/react-places-autocomplete/
MIT License
1.38k stars 388 forks source link

fix: 🐛 suggestions now appear after minimum value set #387 #403

Closed Paul-Taiwo closed 1 year ago

Paul-Taiwo commented 1 year ago

✅ Closes: #387

Summary

Fix "shouldFetchSuggestions" bug where suggestions only appear after the 4th character is entered.

Before fix

https://user-images.githubusercontent.com/33280888/212497736-cb3692d5-69fc-460a-847a-bfca91583e48.mov

After fix

https://user-images.githubusercontent.com/33280888/212497763-b5b3b7a4-29ae-48f4-a9cd-99c2bc7fb41d.mov