The focus is set to the input element in the onload handler.
After setting the focus the pdf document will be loaded with a short delay. The caret is still blinking in the input element but when typing no character gets written.

Input: