Skip to content

Displays words containing input rather than words starting with input #72

@ZooeyMiller

Description

@ZooeyMiller

This may or may not be intended so please ignore me if it is!
When inputting text to an autocomplete I usually expect it to give me suggestions that start with my input rather than words that contain my input.

eg. Here, corn is word, I expect at least one of the first results to start with "corn".
screenshot from 2017-03-17 10-29-45

On line 72 of handlers.js I see you use regExp.exec() which I'm not super familiar with, but seems like it just searches for a match in a string, if this is a bug and not a feature perhaps look at using str.startsWith().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions