openverse-frontend icon indicating copy to clipboard operation
openverse-frontend copied to clipboard

Homepage search bar will clear entered text if you enter text before the page has hydrated

Open sarayourfriend opened this issue 2 years ago • 0 comments

Description

This is an incredibly frustrating experience if you're on a slow connection.

Reproduction

  1. Load the homepage with a slow connection (throttle your browser if need be via dev tools)
  2. Quickly start to type a query into the search bar before the content switcher has appeared and hit enter to submit the query
  3. 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.

sarayourfriend avatar Sep 20 '22 09:09 sarayourfriend