pl-fe: fix suggestions appearing in spoiler input when not focused
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -144,7 +144,7 @@ const AutosuggestInput: React.FC<IAutosuggestInput> = ({
|
||||
|
||||
const onBlur = () => {
|
||||
setSuggestionsHidden(true);
|
||||
setFocused(true);
|
||||
setFocused(false);
|
||||
};
|
||||
|
||||
const onFocus = () => {
|
||||
|
||||
Reference in New Issue
Block a user