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

Automatic scrolling to highlighted item in explorer #14097

Open
kawaragi-momoka opened this issue Aug 29, 2024 · 5 comments
Open

Automatic scrolling to highlighted item in explorer #14097

kawaragi-momoka opened this issue Aug 29, 2024 · 5 comments

Comments

@kawaragi-momoka
Copy link

kawaragi-momoka commented Aug 29, 2024

Bug Description:

When I select an item which is towards the top of the explorer, and then scroll down, eventually after a few seconds Theia will automatically scroll up to the selected item.

Steps to Reproduce:

  1. Open project containing enough items to make the explorer scrollable
  2. Select an item towards the top of the explorer
  3. Scroll down

Additional Information

Changing settings such as "editor.stickyScroll.scrollWithEditor" or "explorer.autoReveal" and setting them to false does not affect the behaviour. Nor does setting "explorer.autoReveal" to "focusNoScroll" (in fact this setting does not seem to be supported).

  • Operating System: Windows 10
  • Theia Version: 1.52.0
@kawaragi-momoka kawaragi-momoka changed the title Prevent automatic scrolling to highlighted item in explorer Automatic scrolling to highlighted item in explorer Aug 29, 2024
@msujew
Copy link
Member

msujew commented Aug 29, 2024

I believe this is a duplicate of #13461? cc @tsmaeder should we reopen the other issue?

@tsmaeder
Copy link
Contributor

I don't think it's the same issue: that other one had to do with updating the tree (e.g. expanding a node), whereas this one does not.

@tsmaeder
Copy link
Contributor

if you wait 5 seconds after selecting an item, the scroll-back does not happen.

@kawaragi-momoka
Copy link
Author

@tsmaeder is there no way to get around this other than waiting for 5 seconds?

@tsmaeder
Copy link
Contributor

tsmaeder commented Sep 2, 2024

@kawaragi-momoka I don't know, I just wanted to record the behavior as a pointer for whoever eventually addresses the issue.

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

No branches or pull requests

3 participants