Skip to content

Grid view details panel doesn't keep position in the list #3877

Open
@evinnichenko

Description

@evinnichenko

Bug Description

When in Grid view and opening the details (of game info - the one that opens on the right when pressing on the "i" button) panel, the list has to resize itself to make space and jumps around, so now it doesn't show the game in question, you have to scroll for it - and when you close the panel, the list jumps again, so now you have to scroll again to get back to the initial position.

I see several ways to fix this, probably best done if combined into an option:

  1. Lock the scroll to a game, and reset it when the details panel is opened/closed so that the chosen game stays in the same place (roughly - there is obvious edge case in eg last column)
  2. This is where we get into the option part:
    1. What if, instead of being a second panel, it was an overlay that doesn't change the grid size?
    2. Clicking on the game info might open the game's detail page, same as in the details view.
    3. Or the same but a bit smaller and contained in a window overlayed over the grid (covering ~80% of the screen, with ~75% of a game card's width visible outside).
    4. All of these can be put in the option menu for the user to choose to their preference.

To Reproduce

  1. Have a large (couple dozen games) library, to make it a problem.
  2. Scroll down some to make it more of an issue.
  3. Open the details panel for a game.
  4. Notice how you now see games higher than the original, sometimes by several letters (eg from S to M)
  5. (optional) Scroll again
  6. Close the details panel
  7. (optional) Notice that your scrolling is preserved after closing it.

Diagnostics ID

926c80f7-c45a-4700-9c46-a5969ce588e0

Screenshots

ezgif-1-aae43a41cd

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions