vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Horizontal scrollbars weird behaviour

Open Nimzozo opened this issue 10 years ago • 5 comments

I have splitted the editor and the two horizontal scrollbars have a very weird behaviour. The bug seems easy to reproduce.

Just resize the width of the splitted screens (20%-80%, then 80%-20%, then 50-50), then look at the horizontal scrollbars. Their widths are sometimes not correct, they are not scrolling the editors content correctly...

Nimzozo avatar Mar 08 '16 16:03 Nimzozo

@Nimzozo Here I am trying to reproduce what you describe, but I am not seeing anything weird:

scrollbars

alexdima avatar Mar 08 '16 22:03 alexdima

Actually, it's not so easy to reproduce in a precise way, but only by quite randomly resizing the screens. I'm going to try to give more info with a gif file.

Nimzozo avatar Mar 08 '16 23:03 Nimzozo

animation

Here the left scrollbar has just disappeared, the right one works but has a weird size.

Nimzozo avatar Mar 08 '16 23:03 Nimzozo

@Nimzozo Thank you! I was also able to reproduce, also randomly by resizing the split editors a lot.

alexdima avatar Mar 09 '16 17:03 alexdima

To verify, please look at the commit or try resizing a lot...

alexdima avatar Mar 21 '16 12:03 alexdima