Fix delayed mention search results

Fixes https://github.com/flarum/core/issues/3095
This commit is contained in:
Alexander Skvortsov 2021-10-06 16:22:04 -04:00
parent 03c6db4c8d
commit 84dcde4e85

View File

@ -25,7 +25,8 @@ const throttledSearch = throttle(
returnedUsers.push(u); returnedUsers.push(u);
} }
}); });
if (dropdown.active) buildSuggestions();
buildSuggestions();
}); });
searched.push(typedLower); searched.push(typedLower);
} }