Skip to content

prosemirror-autocomplete: backspace bug? #183

@tslocke

Description

@tslocke

What is the boolean returned from the reducer for? I figured returning false would mean something like "nothing happened".

I have an autocomplete menu that is only valid in some contexts. In other contexts, typing the trigger character should just behave like normal typing.

That is all working fine except for one small niggle: after typing the trigger character I have to press backspace twice to delete it. If the menu was open, the first backspace would close the menu, so it seems like the plugin is behaving as if the menu is open.

Not sure if I am using the API wrongly or if this is a little bug.

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