Oni Version: 0.3.4
Neovim Version (Linux only):
Operating System: Windows
In the gif above I'm only pressing j/k.
Explorer pane is "flickering" when you try to scroll with j/k past the bottom of a list that's taller than the pane itself. When the cursor reaches the bottom of the pane, pressing j to focus the next item (which is not currently visible as it's below the bottom of the pane) causes the whole pane to jump up to the top before jumping back down to the next item in the list. It always does this unless you're in the first pane height of the list.
Each time I press j, the list should scroll down by one element and keep the cursor at the bottom of the pane.
The whole view flashes up to the top of the list before jumping back down to the next item in the list, vertically centering the cursor in the pane. It continues to do this for each press.
jHello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
Side note: happy to pick this up and see if I can fix it this weekend. It's interfering with my bad habit of mindlessly scrolling up and down my source tree when I don't know what to do :)
@Speculative thanks for raising an issue to track this, I actually noted the same issue and opened #2182 to solve it so it smooths out scrolling hopefully it can be merged in soon
Oops, I'd totally forgotten about that PR when I asked them to raise an issue.
Since it looks like its just waiting on a review, I'll review it later today @Akin909.
@CrossR no worries would be good to have someone try it the scrolling part was pretty straight forward although how the entire component is rendered is kind of different so lemme know if there are weird quirks you notice (been running it locally and seems fine)
@Akin909 Does https://github.com/onivim/oni/pull/2182 fix this?
@badosu it does think this can be closed out now 馃憤
Most helpful comment
@Speculative thanks for raising an issue to track this, I actually noted the same issue and opened #2182 to solve it so it smooths out scrolling hopefully it can be merged in soon