From 9e3f662f10d803ef4f491f9339fb41f341ec8549 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 23 Feb 2020 14:24:14 +0100
Subject: [PATCH] Attempt to fix filter variant prefix box on smartphones

---
 client/src/views/Variants.vue | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index 014aca68..3fccae59 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -4,6 +4,7 @@ main
     .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
       input#prefixFilter(
         v-model="curPrefix"
+        @input="setCurPrefix($event)"
         :placeholder="st.tr['Prefix?']"
       )
     .variant.col-sm-12.col-md-5.col-lg-4(
@@ -47,6 +48,10 @@ export default {
     }
   },
   methods: {
+    // oninput listener, required for smartphones:
+    setCurPrefix: function(e) {
+      this.curPrefix = e.target.value;
+    },
     getLink: function(vname) {
       return "/variants/" + vname;
     }
-- 
2.44.0