notebook icon indicating copy to clipboard operation
notebook copied to clipboard

V7b1: Keyboard shortcuts and mouse scrolling support for iPad

Open SaturnTsen opened this issue 2 years ago • 1 comments

Description

  1. The keyboard shortcuts on Safari for iPad in mobile mode are identified as non-apple system.
  2. Cannot execute blocks successively on Safari for iPad using shift + Enter with a keyboard.
  3. Mouse scrolling on Safari for iPad in desktop mode does not work at all.

That’s to say, neither of the mobile mode and desktop mode on Safari for iPad can adapt to jupyter7.

To Reproduce

The iPad is connected to a keyboard and a mouse.

1st problem

  1. Open any .ipynb file
  2. Select mobile mode(require mobile website) on Safari.
  3. Go to ‘Help’ - ‘Show keyboard shortcuts’
  4. All the keyboard shortcuts are windows/linux shortcuts, not for iPad/mac

2nd problem

  1. Open any .ipynb file with mutiple blocks.
  2. Press shift + Enter many times from the first block.
  3. The activated block does not move as expected.

3rd problem

  1. Open any .ipynb file
  2. Select desktop mode(require desktop website) on Safari.
  3. Scroll using the mosue.
  4. The page does not scroll.

Screenshots IMG_6180

Desktop (please complete the following information):

  • OS: iPadOS 16.4.1
  • Browser: Safari
  • Server Version: CentOS : LSB Version core-4.1-amd64:core-4.1-noarch Conda Version: 23.3.1 Python : 3.10.9 IPython : 8.13.1 ipykernel : 6.22.0 ipywidgets : not installed jupyter_client : 8.2.0 jupyter_core : 5.3.0 jupyter_server : 2.5.0 jupyterlab : 4.0.0rc0 nbclient : 0.7.4 nbconvert : 7.3.1 nbformat : 5.8.0 notebook : 7.0.0b1 qtconsole : not installed traitlets : 5.9.0

SaturnTsen avatar Apr 30 '23 04:04 SaturnTsen

Thanks @minger233 for the report.

Would you be able to try with 7.0.0b3 to check if it is still an issue? The latest version re-uses the JupyterLab shortcuts so maybe it's something that could be fixed in JupyterLab 4 directly.

jtpio avatar Jun 09 '23 07:06 jtpio