Skip to content

Commit cb5efda

Browse files
committed
revert "Jupyter -- scroll output by default"
- I really wanted to align with official jupyterlab, but after trying to use this all week... it is SOOOO annoying!
1 parent a946b5e commit cb5efda

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/packages/frontend/jupyter/cell-output.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function OutputColumn({
144144
}
145145
return (
146146
<CellOutputMessages
147-
scrolled={cell.get("scrolled", true)}
147+
scrolled={cell.get("scrolled")}
148148
output={output}
149149
project_id={project_id}
150150
directory={directory}
@@ -196,7 +196,7 @@ function ControlColumn({ actions, cell, id }) {
196196
<OutputToggle
197197
actions={actions}
198198
id={id}
199-
scrolled={cell.get("scrolled", true)}
199+
scrolled={cell.get("scrolled")}
200200
>
201201
{prompt}
202202
</OutputToggle>

src/packages/jupyter/redux/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ export abstract class JupyterActions extends Actions<JupyterStoreState> {
482482
id,
483483
[property]: !cell.get(
484484
property,
485-
property == "scrolled" ? true : false, // default scrolled to true
485+
property == "scrolled" ? false : true, // default scrolled to false
486486
),
487487
},
488488
false,

0 commit comments

Comments
 (0)