Skip to content

Commit 9aee8af

Browse files
authored
Fix scroll jumping behavior (#46)
1 parent 4bd6d0a commit 9aee8af

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docker/overrides.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"@jupyterlab/notebook-extension:tracker": {
3+
"scrollPastEnd": false
4+
},
5+
"@jupyterlab/apputils-extension:notification": {
6+
"fetchNews": "false"
7+
}
8+
}

docker/postBuild

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ set -euo pipefail
77
# used in the JupyterHub.
88
cp custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/
99
cp custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/
10+
11+
# Install settings overrides, including fix for jumping-scroll behavior
12+
mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
13+
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings

0 commit comments

Comments
 (0)