mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #3500 from gnestor/issue-2518
Prevent default on pageup/pagedown when completer is active
This commit is contained in:
commit
fc24f31be8
@ -374,6 +374,7 @@ define([
|
||||
index = Math.min(Math.max(index, 0), options.length-1);
|
||||
this.sel[0].selectedIndex = index;
|
||||
} else if (code == keycodes.pageup || code == keycodes.pagedown) {
|
||||
event.codemirrorIgnore = true;
|
||||
event._ipkmIgnore = true;
|
||||
|
||||
options = this.sel.find('option');
|
||||
|
Loading…
Reference in New Issue
Block a user