olmokramer / atom-autohide-tree-view

Hides most of the tree view, reveal it on hover
MIT License
38 stars 7 forks source link

Tree view no longer scrollable. #68

Open thirashima opened 8 years ago

thirashima commented 8 years ago

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.

spencerthayer commented 8 years ago

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.

davidhantson commented 8 years ago

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?

cwg999 commented 8 years ago

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

davidhantson commented 8 years ago

@cwg999 that is a nice workaround thank you.

AustP commented 8 years ago

@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;
}
rm-code commented 8 years ago

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

rainbow-pooping-unicorn commented 8 years ago

same issue on my site... (1.8.0)

calebswank11 commented 7 years ago

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;
}
spencerthayer commented 7 years ago

Please fix this in the main.

thillmfg commented 7 years ago

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

HauntedSmores commented 7 years ago

Randomly had this issue on Win10.

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

This worked well for me.

Slight modification of @calebswank11 's answer

christopherdiehl commented 7 years ago

Issue on Atom v1.7 on Mac OsX Sierra

calebswank11 commented 7 years ago

@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.

HauntedSmores commented 7 years ago

@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

Glavin001 commented 7 years ago

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

esappear commented 7 years ago

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

heyakyra commented 6 years ago

@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

olmokramer commented 5 years ago

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.

wonko-wedler commented 5 years ago

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.

heyakyra commented 5 years ago

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