Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Unable to fold or hide sidebar once it is activated #102

Closed
mine2chow opened this issue Apr 7, 2018 · 5 comments
Closed

Unable to fold or hide sidebar once it is activated #102

mine2chow opened this issue Apr 7, 2018 · 5 comments

Comments

@mine2chow
Copy link

Because of the new auto reveal function, Once activated the sidebar after boot, it can not be folded or hidden any more, expanding automatically when the selection changed.

@rdlaner
Copy link

rdlaner commented Apr 7, 2018

This is really annoying! I have to constantly restart VSCode in order to hide the sidebar.

@mine2chow
Copy link
Author

@rdlaner

I found a way to help you temporarily until the bug is fixed,
do as follows:

  1. fold or hide the tab
  2. switch to extension page
  3. switch back

It will not expand automatically any more, just the same as you restarted vscode.

@racedaemon
Copy link

I found this in the release notes.

"By default, the item to be revealed is selected. In order to not select the item, set the select option to false. For example:

customView.reveal('element', { select: false }); "

The description seems a little confusing. I suppose they should use the word "focus" instead of "select". Because once the element is "revealed" it is in view. But one might think the element needs to be selected.

I'm talking semantics here. Not sure how the API works. But it is highly probable that "select" has to be "false".

@ricpol
Copy link

ricpol commented Apr 19, 2018

See also #103, #107... Thanks for the workaround!

@patrys
Copy link
Owner

patrys commented Apr 19, 2018

I've opened an upstream issue to track this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants