mirror of
https://github.com/flarum/framework.git
synced 2025-06-03 06:13:07 +08:00
Fix mentions autocomplete not appearing after users are loaded
This commit is contained in:
@ -58,6 +58,7 @@ export default function() {
|
||||
}
|
||||
|
||||
dropdown.hide();
|
||||
dropdown.active(false);
|
||||
|
||||
if (mentionStart) {
|
||||
typed = value.substring(mentionStart, cursor).toLowerCase();
|
||||
@ -149,6 +150,7 @@ export default function() {
|
||||
|
||||
dropdown.setIndex(0);
|
||||
dropdown.$().scrollTop(0);
|
||||
dropdown.active(true);
|
||||
|
||||
clearTimeout(searchTimeout);
|
||||
searchTimeout = setTimeout(function() {
|
||||
|
Reference in New Issue
Block a user