mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
If focused element is a textarea, viewer should not process keyboard shortcuts (as it does with input and select elements) because while writing on a textarea, if you press k,p,l, or n, the viewer scrolls next/prev page and the letter is not added to the textarea (eg. in my case I had a viewer displaying a product specs in PDF and a "request a quote" form at it's right, the form had a textarea field and users complains that they couldn't write in it, after checking it, I've realized it was this particular issue and fixd it with the change I'm commiting. |
||
---|---|---|
.. | ||
images | ||
.gitignore | ||
compatibility.js | ||
compressed.tracemonkey-pldi-09.pdf | ||
debugger.js | ||
download_manager.js | ||
firefoxcom.js | ||
index.html.template | ||
pdf_find_bar.js | ||
pdf_find_controller.js | ||
pdf_history.js | ||
secondary_toolbar.js | ||
text_layer_builder.js | ||
thumbnail_view.js | ||
ui_utils.js | ||
viewer-snippet-b2g-activity-header.html | ||
viewer-snippet-firefox-extension.html | ||
viewer-snippet.html | ||
viewer.css | ||
viewer.html | ||
viewer.js |