Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Autofill has change size #2521

Open
SporyTike opened this issue Jun 22, 2024 · 2 comments
Open

Search Autofill has change size #2521

SporyTike opened this issue Jun 22, 2024 · 2 comments
Labels
area/ui This issue affects the front-end

Comments

@SporyTike
Copy link
Contributor

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

  1. Click on the search bar at the top of every page
  2. Insert "Super Street Fighter II"
  3. 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
image
image

Desktop

  • Windows 10
  • Opera GX
@wescopeland wescopeland added the area/ui This issue affects the front-end label Jun 22, 2024
@wescopeland wescopeland self-assigned this Jun 22, 2024
@wescopeland
Copy link
Member

Having difficulty reproducing this with Opera GX. Are you able to reproduce this with another browser?

Screenshot 2024-06-23 at 7 53 33 AM

@wescopeland wescopeland removed their assignment Jun 23, 2024
@SporyTike
Copy link
Contributor Author

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.
image

I tried with Microsoft Edge and couldn't reproduce it, unsure how about other browsers since I don't have any others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui This issue affects the front-end
Projects
None yet
Development

No branches or pull requests

2 participants