Search Autofill has change size
Describe the bug Unsure what to call this bug but basically while doing a game search I noticed a weird bug in the search. Usually when you search a game the search suggests entries that match the text you already inputted. It seems that if the game title is just big enough to require a second line, the text magically changes to one line when hovering over it.
To understand better check the images below. The game Super Street Fighter II: The New Challengers (Genesis/Mega Drive) takes two lines when not hovered over, but takes only one when hovering over the game. This can cause issues by the user to accidentally click the wrong game due to the shifting sizes.
To Reproduce
- Click on the search bar at the top of every page
- Insert "Super Street Fighter II"
- Hover over the search results, specifically for The New Challengers on Genesis / Mega Drive
Expected behavior The search suggestion should keep the length, either two lines all the time or only one undependent of the hovering
Screenshots
Desktop
- Windows 10
- Opera GX
Having difficulty reproducing this with Opera GX. Are you able to reproduce this with another browser?
Tried it myself and figure out it needs a bit more to reproduce. So I usually have my browser half on screen and other programs on the other side of the screen. To reproduce you might need to clip the browser to the left side of the screen and manually adjust the width a bit more. I was able to easily reproduce it by entering the steps above and then decrease the width of the window slowly until the Mega Drive got split into the next row. From there it has the issue as above mentioned. I assume it is related to the dropdown width itself which is longer on full screen and therefore every game could cause this issue if you just have the correct window width, I just got luckly (or rather unlucky) to hit exactly that spot.
I tried with Microsoft Edge and couldn't reproduce it, unsure how about other browsers since I don't have any others.
Resolved with the release of Search 2.0.