Skip to content

UNSTAGED list scrolls down after staging multiple selected files #2729

Description

@OverTheImmense

When selecting several files in the UNSTAGED tab and staging them, the file list unexpectedly scrolls down.

This happens even when the scrollbar is initially at the very top.

Steps to reproduce
Open the UNSTAGED tab.
Make sure the file list is scrolled to the top.
Select several files.
Stage the selected files.
The scroll position moves down unexpectedly.

Expected behavior

The scroll position should remain stable, preferably staying at the top when files above/below are removed from the UNSTAGED list.

Actual behavior

After staging multiple selected files, the UNSTAGED list jumps/scrolls down.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions