From 114170048335400f02484c0da46b23c0e5b2feba Mon Sep 17 00:00:00 2001
From: Hermann <blumh@ethz.ch>
Date: Mon, 14 May 2018 17:47:49 +0200
Subject: [PATCH] fix selectList for linux clients, longer timeout after out of
 focus

---
 src/views/selectList.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/views/selectList.js b/src/views/selectList.js
index 548ac71..3bc9d5f 100644
--- a/src/views/selectList.js
+++ b/src/views/selectList.js
@@ -49,6 +49,7 @@ class SearchField {
         },
         buttons: {
           none: {
+            before: m.trust(''),
             after: m(ExitButton),
           },
           focus: {
@@ -147,7 +148,7 @@ export default class SelectList {
           } else if (!focus) {
             // don't close the list immidiately, as 'out of focus' could 
             // also mean that the user is clicking on a list item
-            setTimeout(() => { this.showList = false; m.redraw(); }, 50);
+            setTimeout(() => { this.showList = false; m.redraw(); }, 500);
           }
           if (value !== this.searchValue) {
             // if we always update the search value, this would also happen
-- 
GitLab