From 51005cef8881cca9286aa585c7f7ac11fde1ce85 Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Fri, 17 Apr 2020 16:40:27 -0700 Subject: [PATCH] Fix scrolling when don't have focus --- news/2 Fixes/11238.md | 1 + src/datascience-ui/react-common/monacoEditor.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/2 Fixes/11238.md diff --git a/news/2 Fixes/11238.md b/news/2 Fixes/11238.md new file mode 100644 index 000000000000..062b897485f0 --- /dev/null +++ b/news/2 Fixes/11238.md @@ -0,0 +1 @@ +Fix scrolling in a notebook whenever resizing or opening. \ No newline at end of file diff --git a/src/datascience-ui/react-common/monacoEditor.tsx b/src/datascience-ui/react-common/monacoEditor.tsx index 2f4c119103ea..1a763f210c44 100644 --- a/src/datascience-ui/react-common/monacoEditor.tsx +++ b/src/datascience-ui/react-common/monacoEditor.tsx @@ -551,7 +551,7 @@ export class MonacoEditor extends React.Component