Skip to content

Commit

Permalink
[VUFIND-1654] Fix inconsistent cursor behavior with virtual keyboard. (
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored and EreMaijala committed Dec 12, 2023
1 parent 2eb9e1a commit c9013d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bootstrap3/js/searchbox_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ VuFind.register('searchbox_controls', function SearchboxControls() {
if (triggerInputEvent) {
_textInput.dispatchEvent(new Event('input'));
}
_textInput.focus();
}

function _showKeyboard() {
Expand Down Expand Up @@ -154,6 +153,7 @@ VuFind.register('searchbox_controls', function SearchboxControls() {
if (_resetButton) {
_resetButton.addEventListener('click', function resetOnClick() {
_handleInputChange('');
_textInput.focus();
});
}

Expand Down

0 comments on commit c9013d1

Please sign in to comment.