Skip to content

Conversation

@parente
Copy link
Member

@parente parente commented Aug 22, 2018

Currently:

  1. Open keyboard shortcuts editor
  2. Click to change / assign a keyboard combination
  3. Type the keys to assign
  4. Press the Enter key to save the assignment
  5. Entire browser page refreshes

I think the return false in the current code was meant to stop this from happening, but a call to event.preventDefault() is also required to prevent full-page form submission.

I think the behavior could still use some tweaking since pressing Enter in the dialog even when a shortcut field does not have the edit focus does nothing.

@minrk minrk merged commit 4650dab into jupyter:master Sep 13, 2018
@minrk minrk added this to the 5.7 milestone Sep 13, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants