Skip to content

Stop nbgrader JupyterLab formgrader tab from scrolling back to top #1841

Open
@ianalis

Description

@ianalis

I'm using nbgrader on JupyterLab. When I manually grade on a formgrader tab, switch to a different JupyterLab tab, say, to look at the expected solution, then go back to the formgrader tab, it scrolls back to top. This is very frustrating, distracting and time wasting that my workaround is to use the notebook interface instead of lab when manually grading. Is there a way to stop formgrader from scrolling back to top?

Operating system

Ubuntu 22.04.3 LTS

nbgrader --version

Python version 3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]
nbgrader version 0.8.5

jupyterhub --version (if used with JupyterHub)

4.0.2

jupyter notebook --version

6.5.2

jupyter lab --version

3.6.6

Expected behavior

The formgrader (manual grading) tab should not scroll at all when you come back to it after switching to a different JupyterLab tab.

Actual behavior

The formgrader (manual grading) tab scrolls to top after switching to a different JupyterLab tab.

Steps to reproduce the behavior

  1. Manually grade a submission then scroll down.
  2. Switch to a different JupyterLab tab (e.g., different notebook or terminal).
  3. Switch back to the formgrader tab where you are manually grading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions