Skip to content

autocomplete: Options list can persistently lag behind query #226

Open
@chrisbobbe

Description

@chrisbobbe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-composeCompose box, autocomplete, attaching files/imagesbeta feedbackThings beta users have specifically asked forupstreamWould benefit from work in Flutter or another upstream

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions