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

Remember menu scroll position when opening a file #10

Open
Greenheart opened this issue Nov 2, 2018 · 0 comments
Open

Remember menu scroll position when opening a file #10

Greenheart opened this issue Nov 2, 2018 · 0 comments
Labels
enhancement Something that could be improved

Comments

@Greenheart
Copy link
Owner

The problem

When opening a file at the bottom of a long list of files and going back to the menu again, the list scrolls back up to the top.

This makes it annoying when searching for a specific file and you have to scroll down to the bottom every time.

By getting back to the same scroll position in the main menu automatically, UX would be improved.


Solution

  1. Save the scroll position when the main menu is closed and before the file is opened.
  2. When navigating back to the menu and its file list, set the scroll position based on the latest stored value.
@Greenheart Greenheart added the enhancement Something that could be improved label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something that could be improved
Projects
None yet
Development

No branches or pull requests

1 participant