Skip to content

[UX] When a game finishes installing, sometimes you are taken to the top of the library page #2456

Open
@arielj

Description

@arielj

Describe the bug

When you are installing a game, if the game finishes installing and you are at a scrolled position, sometimes it takes you back to the top because the library refreshes.

This is a problem because games are being installed in the background and when you don't expect it you are taken to the top.

Add logs

Nothing relevant on the logs

Steps to reproduce

  1. Start installing a game
  2. Scroll down and wait
  3. Sometimes, when the game finishes installing, the scroll is back to the top

Expected behavior

The scroll should be preserved, without "jumping around"

Screenshots

No response

Heroic Version

Latest Stable

System Information

  • OS [e. g. "Ubuntu"]: Linux Mint

Additional information

I understand the issue is that we re-render the whole library when a game installation ends, we should only update the relevant card for the game that was just installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions