File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
interactive-common/redux/reducers Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ export namespace CommonEffects {
116
116
function focusPending ( prevState : IMainState ) : IMainState {
117
117
return {
118
118
...prevState ,
119
+ // This is only applicable for interactive window & not native editor.
119
120
focusPending : prevState . focusPending + 1
120
121
} ;
121
122
}
Original file line number Diff line number Diff line change @@ -473,7 +473,8 @@ export class NativeEditor extends React.Component<INativeEditorProps> {
473
473
editorOptions = { this . props . editorOptions }
474
474
enableGather = { this . props . settings . enableGather }
475
475
themeMatplotlibPlots = { this . props . settings . themeMatplotlibPlots }
476
- focusPending = { this . props . focusPending }
476
+ // Focus pending does not apply to native editor.
477
+ focusPending = { 0 }
477
478
/>
478
479
</ ErrorBoundary >
479
480
{ lastLine }
You can’t perform that action at this time.
0 commit comments