You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
autocomplete: Options list can persistently lag behind query #226
It's normal for the options list to lag behind the query by some small amount, perhaps several milliseconds, because we do expensive filtering computations asynchronously.
The symptom here is different: for example, you type "@", and after waiting even multiple seconds, the list of @-mention autocomplete options doesn't come up. That's because RawAutocomplete updates the list with a listener on the TextEditingValue, not on the MentionAutocompleteView.
To recognize a change from one result set to another, we should have the UI listen and respond to MentionAutocompleteView, not TextEditingValue.
The symptom here is different: for example, you type "@", and after waiting even multiple seconds, the list of @-mention autocomplete options doesn't come up.
Also in the beta if you put the focus in the topic input you don’t get any propositions until you type something (and then remove it to see the list of all topics).
(They saw it with topic autocomplete, not @-mention autocomplete, but we use some of the same code for both and that code is where the bug is.)
More on the user impact of this, again in the topic autocomplete (i.e. the topic input when you're composing from a channel feed): #mobile > reply goes to "no topic" @ 💬
Activity
wip RawAutocomplete: Let caller control options directly
wip autocomplete: Have autocomplete options update when view-model up…
chrisbobbe commentedon Jul 21, 2023
For a brain-dump of one possible approach, where we have
RawAutocompletegrow a new feature, see discussion.chrisbobbe commentedon Dec 13, 2024
A user reported this symptom in beta feedback:
(They saw it with topic autocomplete, not @-mention autocomplete, but we use some of the same code for both and that code is where the bug is.)
19 remaining items
gnprice commentedon Mar 28, 2025
More on the user impact of this, again in the topic autocomplete (i.e. the topic input when you're composing from a channel feed):
#mobile > reply goes to "no topic" @ 💬
chrisbobbe commentedon Jan 26, 2026
We've had another report of this, at zulip/zulip-mobile#5932.
chrisbobbe commentedon Mar 18, 2026
Sent flutter/flutter#183705 upstream for this.
sm-sayedi commentedon Oct 8, 2026
A user reported this on CZO yesterday.