Skip to content

Autocomplete popup should default to top result #79

@jvyden

Description

@jvyden

Describe the problem

This is Discord muscle memory I hit myself and see a couple others complain about when showing Sable to others.

When typing a mention or emoji, I'll commonly get the result I want at the top as I type:

Image

In Discord, pressing enter at this point will act as if I've picked the top result and fill it in for me, allowing me to continue the message.

However in Sable, this sends the message if I don't add an additional down-arrow keypress to select the top result myself, creating incomplete messages:

Image

Describe the solution you'd like

This behavior should preferably match Discord, where pressing enter during autocomplete will act as I've selected the first result (or more accurately, the first result should always be highlighted until I choose otherwise with the mouse or arrow keys)

Alternatives considered

Dealing with it, but this can be a bit frustrating to learn.

Additional context

meow :3

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