Skip to content

Spaces disappear when using forced_root_block #28

Open
@pieterdw

Description

@pieterdw

First of all, thanks for the great job on this control! I've been happily using it in my projects.

But I'm experiencing a problem when using it in combination with the forced_root_block config option. When it's set to an empty string, the trailing space seems to get trimmed after about half a second.

So if you're typing slowly, your words don't have spaces between them.

Here's a minimal example that reproduces the issue:
https://stackblitz.com/edit/react-yhkgu9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions