the-littlest-jupyterhub icon indicating copy to clipboard operation
the-littlest-jupyterhub copied to clipboard

Documentation page navigation on arrow key press

Open ricklamers opened this issue 5 years ago • 1 comments

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

  • OS: macOS / Google Chrome

  • Version: Version 81.0.4044.129 (Official Build) (64-bit)

  • Configuration: Not relevant.

ricklamers avatar May 02 '20 12:05 ricklamers

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

consideRatio avatar Oct 25 '21 20:10 consideRatio