We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0711d32 + ee5d8ca commit 69eff38Copy full SHA for 69eff38
web/viewer.js
@@ -2693,6 +2693,7 @@ window.addEventListener('keydown', function keydown(evt) {
2693
// is selected.
2694
var curElement = document.activeElement || document.querySelector(':focus');
2695
if (curElement && (curElement.tagName.toUpperCase() === 'INPUT' ||
2696
+ curElement.tagName.toUpperCase() === 'TEXTAREA' ||
2697
curElement.tagName.toUpperCase() === 'SELECT')) {
2698
// Make sure that the secondary toolbar is closed when Escape is pressed.
2699
if (evt.keyCode !== 27) { // 'Esc'
0 commit comments