Skip to content
Snippets Groups Projects
Commit 11417004 authored by Hermann's avatar Hermann
Browse files

fix selectList for linux clients, longer timeout after out of focus

parent 48766ffa
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,7 @@ class SearchField { ...@@ -49,6 +49,7 @@ class SearchField {
}, },
buttons: { buttons: {
none: { none: {
before: m.trust(''),
after: m(ExitButton), after: m(ExitButton),
}, },
focus: { focus: {
...@@ -147,7 +148,7 @@ export default class SelectList { ...@@ -147,7 +148,7 @@ export default class SelectList {
} else if (!focus) { } else if (!focus) {
// don't close the list immidiately, as 'out of focus' could // don't close the list immidiately, as 'out of focus' could
// also mean that the user is clicking on a list item // 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 (value !== this.searchValue) {
// if we always update the search value, this would also happen // if we always update the search value, this would also happen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment