Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling causes screen flicker #7582

Open
itsmoa opened this issue Feb 5, 2025 · 4 comments
Open

Scrolling causes screen flicker #7582

itsmoa opened this issue Feb 5, 2025 · 4 comments
Labels
bug status:Needs Triage Applied to issues that need triage

Comments

@itsmoa
Copy link

itsmoa commented Feb 5, 2025

Description

when attempting to scroll up and down the jupyter notebook page on chrome, at a certain point it flickers, and it wont go up and down, there is no control of the flickering, until it stops by itself

video link: https://github.com/user-attachments/assets/1add96e4-5780-4a53-bce8-f1cc9c78dc68

To reproduce

  1. just scroll down through the page
  2. notice how the scroll bar keeps jumping back up

Trouble shooting steps

  • Hard Refresh the Browser (Ctrl + Shift + R / Cmd + Shift + R)
  • Tried a Different Browser (Chrome, Firefox, Edge, Incognito Mode)
  • Cleared Browser Cache & Cookies
  • Disabled Browser Extensions (especially UI-related ones)
  • Cleared Jupyter UI State via Console (localStorage.clear(); location.reload();)
  • Checked Browser Console (F12 → Console) for Scroll Errors
  • Tried Running window.onscroll = null; in Console to Stop Auto-Scrolling
  • Jupyter & Anaconda Configurations
  • Disabled Jupyter Auto-Scrolling with a Custom CSS Override

Edited ~/.jupyter/custom/custom.css:
body { overflow: auto !important; }

  • Reset Jupyter UI by Clearing LocalStorage

  • Generated a New Jupyter Configuration File (jupyter notebook --generate-config)

  • Deleted the Existing Jupyter Config File

  • Tried Running Jupyter in Safe Mode (jupyter notebook --NotebookApp.disable_check_xsrf=True)

  • Tried a Different Terminal (Command Prompt, PowerShell) Instead of Anaconda Navigator

  • Disabled Jupyter Themes (pip uninstall jupyterthemes -y)

  • Jupyter Updates & Reinstallation

  • Updated Jupyter Notebook (conda update jupyter notebook)

  • Tried an Older Jupyter Version (pip install notebook==6.5.4)

  • Uninstalled and Reinstalled Jupyter (pip uninstall jupyter notebook -y && pip install jupyter notebook)

  • Fully Removed and Reinstalled Anaconda

  • Launched Jupyter in a Fresh Python Virtual Environment (conda create -n test_env python=3.9)

  • System-Level Fixes

  • Checked for External Mouse/Keyboard Issues (Tested with Trackpad)

  • Tested Jupyter Notebook on a Different User Account

  • Checked If Other Jupyter Interfaces Work (jupyter lab)

  • Tried Running Jupyter with No Browser (jupyter notebook --no-browser)

  • Ran Jupyter Inside Windows Subsystem for Linux (WSL) (Official Build) (64-bit)

  • windows 11 home OS. 26100.3037

  • google chrome Version 132.0.6834.160 (Official Build) (64-bit)

  • Jupyter Notebook version: Version: 7.3.2

@itsmoa itsmoa added bug status:Needs Triage Applied to issues that need triage labels Feb 5, 2025
@jtpio
Copy link
Member

jtpio commented Feb 6, 2025

Thanks @itsmoa for the report.

Do you know if this also happens when using JupyterLab?

@itsmoa
Copy link
Author

itsmoa commented Feb 7, 2025 via email

@jtpio
Copy link
Member

jtpio commented Feb 7, 2025

Thanks @itsmoa.

Since both Jupyter Notebook and JupyterLab use the same notebook component, would you be able to open the issue on the JupyterLab repo? https://github.com/jupyterlab/jupyterlab

Thanks!

@itsmoa
Copy link
Author

itsmoa commented Feb 8, 2025

Just posted it @jtpio - here is the link to that one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants