mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #7733 from minrk/esc-tooltip
prevent esc from bubbling up when dismissing tooltip
This commit is contained in:
commit
65540779ee
@ -329,6 +329,7 @@ define([
|
||||
// If we closed the tooltip, don't let CM or the global handlers
|
||||
// handle this event.
|
||||
event.codemirrorIgnore = true;
|
||||
event._ipkmIgnore = true;
|
||||
event.preventDefault();
|
||||
return true;
|
||||
} else if (event.keyCode === keycodes.tab && event.type === 'keydown' && event.shiftKey) {
|
||||
|
Loading…
Reference in New Issue
Block a user