Hide suggestions by default

They will be enabled if the input has focus
master
Thibaut Girka 6 years ago committed by ThibG
parent fddd8251dd
commit aa1832ac4d
  1. 2
      app/javascript/flavours/glitch/components/autosuggest_input.js
  2. 2
      app/javascript/flavours/glitch/components/autosuggest_textarea.js

@ -59,7 +59,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
};
state = {
suggestionsHidden: false,
suggestionsHidden: true,
focused: false,
selectedSuggestion: 0,
lastToken: null,

@ -55,7 +55,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
};
state = {
suggestionsHidden: false,
suggestionsHidden: true,
focused: false,
selectedSuggestion: 0,
lastToken: null,

Loading…
Cancel
Save