Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Fixes search not updating on mobile (#2295)

Alicia Sykesae7161507958
diff --git a/src/components/Settings/SearchBar.vue b/src/components/Settings/SearchBar.vue
index 4cddd443..08fe45ac 100644
--- a/src/components/Settings/SearchBar.vue
+++ b/src/components/Settings/SearchBar.vue
@@ -4,7 +4,7 @@
<div class="search-wrap">
<input
id="filter-tiles"
- v-model="input"
+ :value="input"
ref="filter"
role="searchbox"
:aria-label="$t('search.search-label')"
@@ -107,7 +107,8 @@ export default {
}
},
/* Emmits users's search term up to parent */
- userIsTypingSomething() {
+ userIsTypingSomething(event) {
+ if (event) this.input = event.target.value;
if (this.emitFrame != null) return;
this.emitFrame = requestAnimationFrame(() => {
this.emitFrame = null;