mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-09-15 17:23:45 +00:00
feat: allow middle clicks to open search suggestions in new tab
This commit is contained in:
@@ -183,7 +183,9 @@ export default {
|
||||
this.suggestionsVisible = true;
|
||||
},
|
||||
onInputBlur() {
|
||||
this.suggestionsVisible = false;
|
||||
// the search suggestions will be hidden after some seconds
|
||||
// otherwise anchor links won't work!
|
||||
setTimeout(() => (this.suggestionsVisible = false), 200);
|
||||
},
|
||||
onSearchTextChange(searchText) {
|
||||
this.searchText = searchText;
|
||||
|
||||
Reference in New Issue
Block a user