Xuyuanp / scrollbar.nvim

scrollbar for neovim
Apache License 2.0
269 stars 10 forks source link

Bug: Scrollbar stays in place when resizing the window in a vertical split. #18

Open LeeWannacott opened 3 years ago

LeeWannacott commented 3 years ago

When using a vertically split window doing a vertical resize results in the scrollbar staying in place and not resizing with the window.

Refer to image below: image

I'm using Neovim version 0.5.0.

Thanks.

Xuyuanp commented 3 years ago

How to reproduce?

LeeWannacott commented 3 years ago

scrollie There is a third scrollbar to the right that is not showing because the window is out of focus while taking screenshot.

I'm not 100% sure how to reproduce, other than play around with the :Vex and :Sex commands and possibly :vertical resize, maybe it has something to do with netrw.

Sometimes I don't have a scrollbar on the window at all. Sometimes it works fine and the scrollbar resizes to the window when scrolled and sometimes I end up with three hanging scrollbars in one window. I think it has something to do splits.

Sorry I can't give exact directions. Feel free to close issue if you can't reproduce.

Thanks.