microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.28k stars 288 forks source link

mouse scroll stops when cursor in polars output #11846

Open yuuuxt opened 1 year ago

yuuuxt commented 1 year ago

Applies To

What happened?

using mouse wheel to scroll down. the scroll stops when the cursor goes to polars output.

VS Code Version

1.72.2

Jupyter Extension Version

2022.9.1202862440

Jupyter logs

(NA)

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

No response

amunger commented 1 year ago

What OS are you using? Do you have a sample code cell that would produce the output that causes this? the only example on that github readme just displays a dataframe, does that cause the scrolling issue?

yuuuxt commented 1 year ago

I'm using Windows.

Here is what I find: There is a style that makes line-height to be 95% (see https://github.com/pola-rs/polars/pull/3691), and it seems vscode cannot handle that.

I created a sample notebook to help debug, and feel free to ask if it's not reproducible, thanks! test.zip

amunger commented 1 year ago

thanks, I can repro with that notebook, although not very consistently