Since the interactive window is able to scroll past the end, it has been acting very unstable:
If I have a DataFrame preview and half of that preview is covered, sometimes the other half would jump up and show on the screen if I click anywhere on the DataFrame.
If I click somewhere in a DataFrame above, sometimes the interactive window will jump to the last cell output in the bottom.
Mentioned in https://github.com/microsoft/vscode-python/issues/11349 interactive window won't jump to the latest output if I'm looking something way up in the interactive window outputs. I have to scroll down every single time to see it. I was told this is by design but I'm not quite sure if this makes much sense. If I run a new cell, that means wanna see its output. I think a more reasonable thing is to add a toggle for this or add an interactive window anchor icon on the top to control that.
Thanks for your feedback @StevenLi-DS. As for number 3. We'll have to discuss that in our next triage.
With number 1 and 2 I understand that they happen sometimes. Could you clarify that? Also, we'd really appreciate if you could share any steps you know that reproduce the either 1 or 2.
I've been trying to reproduce myself and only found these steps to reproduce 1:
Actual Result
The window scrolls to see the whole DF only the first time.
Expected Result
Either always scroll automatically or don't scroll at all.
Let me know if that is what you mean.
@DavidKutu For number 1 and number 2, I think it's better to not let the windows scroll itself at all.
It seems like both happen when there is a datafram doesn't fully show in the interactive window, please see an example of 1

This is supper annoying when you try to select something.
Thanks, that was very helpful. I was able to repro it like that.
This is likely a dupe of microsoft/vscode-jupyter#1778. I'm going to raise the priority as I believe this is a regression.
Pretty sure that this is a regression We should investigate for May since we have a consistent repro.
@greazer Please consider number 3 as well. It has made my workflow really hard.
The fix for this is in master now (should be in our next insider's build assuming the build finishes).
I've added a new setting for problem 3 - python.dataScience.alwaysScrollOnNewCell. If this is set to true (defaults to false), the interactive window will always scroll when getting a new cell to the bottom.
@rchiodo thanks for that! would you guys also consider adding this into the command or have an Anchor icon on the top of the interactive window?
Not at the moment no, but feel free to make another issue for it.
Our next release should have this fix in it as well. It was ported to the release branch last night.
Validated.