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

fix: scroll selected account into view on startup #4542

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Jan 23, 2025

The feature was introduced in 46d9811,
but then broken apparently in d13a36c.

As a side-effect, this will also show "placeholder" acount list items
while the accounts are loading.

And it makes the account list items interactive
while they're loading, i.e. you can select one
or activate the context menu.

Another thing this fixes is roving tabindex
while the accounts are loading, but isn't really important.

Copy link
Member

@nicodh nicodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work for me. The selected account is not scrolled into view:

image

@WofWca
Copy link
Collaborator Author

WofWca commented Jan 24, 2025

Is it on "clean" startup, i.e. after complete quitting?

@WofWca
Copy link
Collaborator Author

WofWca commented Jan 24, 2025

If yes, could you also try the preview build? IIRC I also had trouble with this on the dev setup, but I forgot the reason.

(works for me on the Windows preview BTW)

Copy link
Member

@nicodh nicodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested now with the prebuild AppImage and it works as expected

The feature was introduced in
46d9811
(#4137),
but then broken apparently in
d13a36c
(#4280).

As a side-effect, this will also show "placeholder" acount list items
while the accounts are loading.

And it makes the account list items interactive
while they're loading, i.e. you can select one
or activate the context menu.

Another thing this fixes is roving tabindex
while the accounts are loading, but isn't really important.
@WofWca WofWca force-pushed the wofwca/fix-account-scrollIntoView branch from 3cb2f48 to 9d86cb1 Compare January 28, 2025 15:39
@WofWca WofWca merged commit 544f022 into main Jan 28, 2025
6 of 11 checks passed
@WofWca WofWca deleted the wofwca/fix-account-scrollIntoView branch January 28, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants