Skip to content

MarkdownEditor suggestions break when querying by 3 or more characters #2423

Description

@iansan5653

We noticed an odd bug in Projects today (https://github.com/github/memex/issues/12620) -- when the user types more than 2 characters to filter the suggestions list, the suggested values become completely incorrect. For 2 or fewer characters, the suggestions make sense, but something seems to break after that. I was able to reproduce this by adding a few more suggestions to the MarkdownEditor story.

In this list, "GitHub" should be first and "mnl" shouldn't appear at all:

Screenshot of the MarkdownEditor suggestions. The user has typed '@git' and the first suggestion is the user 'mnl'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreact

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions