jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.04k stars 341 forks source link

Documentation page navigation on arrow key press #565

Closed ricklamers closed 1 year ago

ricklamers commented 4 years ago

Bug description

When using arrow keys on the docs (i.e. http://tljh.jupyter.org/en/latest/install/amazon.html) the page redirects to different sections. This behaviour means you're not able to use system shortcuts such as Command + Arrow or Command + Shift + Arrow for text navigation/selection.

Expected behaviour

Arrow keys should not navigate pages imo.

Actual behaviour

When you press arrow keys (left/right) you navigate to different pages.

How to reproduce

  1. Go to doc page with sections (i.e. http://tljh.jupyter.org/en/latest/install/amazon.html)
  2. Press down on arrow key (left or right)
  3. Page navigates

Your personal set up

consideRatio commented 3 years ago

I could reproduce this, and I would think this may be an unwanted feature overall. I don't know what causes it though.

@choldgraf do you have an idea if this is a feature that can be disabled or similar?

I note that we are using the following in the requirements.txt:

sphinx>=1.4, !=1.5.4
sphinx_copybutton
pydata-sphinx-theme