Closed cognominal closed 9 years ago
Thanks for the report, but I'm not sure I understand correctly the problem here. Can you post an animated gif of the problem?
The first gif is with tree-view-breadcrumb disabled. The selection in blue is always on screen when I scroll down using the down key.
The second gif is with tree-view-breadcrumb enabled. Eventually the selection is left out of the screen.
This is the (admittedly small) problem
Also it seems that disabling does not work in an existing window. Don't know if this is specific to your package.
Thanks for the insight, I'll make sure to properly handle that case. Also, I'll take a look at the disabling routine. Actually, this package was written in an evening as a proof of concept so it lacked of tests at first. I'm trying to fix that gradually.
I'm not sure if this is a proper way to fix this, but it works for me. :)
I added this to my styles.less
:
ol.tree-view li.directory.project-root:last-child {
padding-bottom: 20px;
}
Edit: This doesn't seem to fix it for keyboard navigation, but does fix it for mouse scrolling.
Wow, sorry guys, I had completely forgotten about that issue. I'll try to see if I can find some time for that.
When descending a large treeview with the down arrow, the selection eventually becomes invisible. I suppose that the treeview is unaware of your package and acts like you breadcrumb was not active and get a wrong visible height. Indeed the visible height is diminshed by the breadcrumbs.