diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 625366a9..61c21e96 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -450,10 +450,12 @@ export default { // 'ctrl + F' => Focus search filter field if (e.keyCode === 70 && doesCommand(e)) { - e.preventDefault() - - this.searchFilterEnabled = true - document.getElementById('searchInput').focus() + const searchInput = document.getElementById('searchInput') + if (document.activeElement !== searchInput) { + e.preventDefault() + this.searchFilterEnabled = true + searchInput.focus() + } } // 'Escape' => Remove focus from search field