atom-autohide-tree-view icon indicating copy to clipboard operation
atom-autohide-tree-view copied to clipboard

Tree view no longer scrollable.

Open thirashima opened this issue 8 years ago • 20 comments

Seems like scrollability of the tree view got broken somehow with the release of Atom 1.6. Switching themes and reloading editor does not seem to fix it.

thirashima avatar Mar 30 '16 20:03 thirashima

I can confirm I've experianced this bug for a while now. In fact the whole plugin is so buggy (sometimes doesn't show the tree at all, won't scroll, will not even update tree element names when changes happen) that I've uninstalled it and likely will never use it again.

spencerthayer avatar Apr 04 '16 02:04 spencerthayer

Same as @spencerthayer , it's so buggy that I often have to restart atom or re-install the plugin. The non-scrollable area makes it really unusable. Any ideas on how to quick fix this?

davidhantson avatar Apr 05 '16 09:04 davidhantson

@davidhantson Using the "Push Editor" option scrolling works fine for me.

cwg999 avatar Apr 05 '16 20:04 cwg999

@cwg999 that is a nice workaround thank you.

davidhantson avatar Apr 06 '16 06:04 davidhantson

@davidhantson Here's a workaround without using the "Push Editor" option:

Add the following to your custom stylesheet (Edit > Stylesheet...)

.tree-view-resizer {
    border-right: 1px solid @overlay-border-color;
    bottom: 0px;
    top: 0;
}

AustP avatar Apr 29 '16 16:04 AustP

This seems to be fixed for me in 1.8.0-beta3. Can anybody confirm?

rm-code avatar May 18 '16 09:05 rm-code

same issue on my site... (1.8.0)

rainbow-pooping-unicorn avatar Jul 05 '16 09:07 rainbow-pooping-unicorn

Realize this is an old post, but just ran into this today and gave the parent container an overflow of scroll. this way you can scroll at any time without interference.

.tool-panel {
  overflow: scroll;
}

calebswank11 avatar May 08 '17 22:05 calebswank11

Please fix this in the main.

spencerthayer avatar May 09 '17 16:05 spencerthayer

@calebswank11 This worked for me in 1.17.0-beta5 Thank you

thillmfg avatar May 15 '17 11:05 thillmfg

Randomly had this issue on Win10.

.tool-panel {
  overflow-y: auto;
}

This worked well for me.

Slight modification of @calebswank11 's answer

HauntedSmores avatar May 24 '17 00:05 HauntedSmores

Issue on Atom v1.7 on Mac OsX Sierra

christopherdiehl avatar May 24 '17 18:05 christopherdiehl

@HauntedSmores might be best to leave as straight overflow: scroll in the event you get a large tree, with a framework like angular or similar, you will need/desire the capability to scroll-x as well.

calebswank11 avatar May 24 '17 19:05 calebswank11

@calebswank11 Good point. I was just thinking that the draggable panel would be used for that instead (I use a mouse with 1 directional scroll (y-axis, obviously) and I would never click-drag the x-axis scroll bar).

The more significant change though, for me, was really just overflow: auto rather than scroll so it gets rid of the scroll bars when its unnecessary. Good looks on finding the right selector though. This should def be fixed asap

HauntedSmores avatar May 24 '17 19:05 HauntedSmores

I have not installed atom-autohide-tree-view, however I am experiencing this issue. Does anyone know how this could be?

image


The suggested workarounds above work! Thank you!

Steps

To solidify the steps I took:

  1. Go to menu Atom -> Stylesheets.... It should open styles.less. OR You can use the Command Palette:

image

  1. Add the following styles:
.tree-view {
  &.tool-panel {
    overflow: auto;
  }
}

image

  1. Reload/Restart Atom

image

Before

Notice the missing scroll bar.

image

After

Notice the new scrollbar! 😃

image

Glavin001 avatar May 29 '17 02:05 Glavin001

【command + option + I 】open the delevop tool and change the style of the panel to 【overflow: scroll】 manually.

esappear avatar Jun 22 '17 10:06 esappear

@cwg999 what's the "push editor" option?

@Glavin001 I have this problem with nuclide and no other packages so I'm going to link there in case anyone from google ends up here: https://github.com/facebook/nuclide/issues/1532

heyakyra avatar May 13 '18 18:05 heyakyra

Hi everyone, I'm sorry for the extremely late reply. As you have probably noticed I've stopped maintaining my Atom plugins a few years ago. I got very frustrated with how Atom was maintained and started ignoring all of my plugins. I'm sorry for that. I won't install Atom to test and mergeer PRs, but I'd be happy to transfer my repositories to anyone that wants to maintain any of my plugins. Again, I'm sorry.

olmokramer avatar Feb 21 '19 20:02 olmokramer

It was promising for a while, but meanwhile to me it's time to move on. Navigation in files is a pain in the ass - seems the only way is the middle button which reactivates scrolling ... for a while. Foreground color for selections is still not working, which reduces the choice of selection solor dramatically and auto-completion is totally blind when rearranging parts or working in regex. The effort of the plugin authors is really appreciated, and most plugins do a good job for certain situations, but without any core that ensures a save level of usability I prefer a stable editor and spending effort for some tools.

wonko-wedler avatar Aug 11 '19 15:08 wonko-wedler

My next editor: http://kakoune.org/why-kakoune/why-kakoune.html

heyakyra avatar Aug 11 '19 16:08 heyakyra