Skip to content

Backspace does not work in preview element after calling .close() or .accept() #565

Description

@KCMertens

When calling accept() or close() to hide the keyboard, base.$preview is cleared here.
However, the keydown event on $preview remains bound, and escape appears to be manually handled, eventually the modified text in the internal buffer is copied out to $preview. However since preview has been cleared, the backspace key is swallowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions