mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-30 12:00:13 -05:00
Hide suggestions by default
They will be enabled if the input has focus
This commit is contained in:
parent
fddd8251dd
commit
aa1832ac4d
@ -59,7 +59,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
suggestionsHidden: false,
|
suggestionsHidden: true,
|
||||||
focused: false,
|
focused: false,
|
||||||
selectedSuggestion: 0,
|
selectedSuggestion: 0,
|
||||||
lastToken: null,
|
lastToken: null,
|
||||||
|
@ -55,7 +55,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
|
|||||||
};
|
};
|
||||||
|
|
||||||
state = {
|
state = {
|
||||||
suggestionsHidden: false,
|
suggestionsHidden: true,
|
||||||
focused: false,
|
focused: false,
|
||||||
selectedSuggestion: 0,
|
selectedSuggestion: 0,
|
||||||
lastToken: null,
|
lastToken: null,
|
||||||
|
Loading…
Reference in New Issue
Block a user