openverse-frontend
openverse-frontend copied to clipboard
Homepage search bar will clear entered text if you enter text before the page has hydrated
Description
This is an incredibly frustrating experience if you're on a slow connection.
Reproduction
- Load the homepage with a slow connection (throttle your browser if need be via dev tools)
- Quickly start to type a query into the search bar before the content switcher has appeared and hit enter to submit the query
- Once the content switcher has appeared note two things: the search input will blur and your inputted text will be gone.
Screenshots
https://user-images.githubusercontent.com/24264157/191225735-00cd2da4-d7c0-4133-87da-caea60872114.mp4
Resolution
- [ ] 🙋 I would be interested in resolving this bug.