Skip to content

Backspace fails to delete lines and triggers empty line generation on mobile browser(Chrome) #2583

@IssacJun

Description

@IssacJun

What’s broken?

When accessing BlockNote Minimal Example using Chrome browser on a mobile device, the backspace key does not function correctly. After typing a string and repeatedly pressing the backspace button, empty lines are generated instead of properly deleting the text and the lines themselves.

What did you expect to happen?

All entered strings and lines should be completely deleted when the backspace key is pressed.

Steps to reproduce

  1. Access https://www.blocknotejs.org/examples/basic/minimal using Chrome on a mobile device.
  2. Enter random strings across multiple lines.
  3. Repeatedly press the backspace button on the virtual keyboard.

Please refer to the https://youtube.com/shorts/tDof9T9SbYw.

BlockNote version

No response

Environment

Chrome 146.0.7680.119, Mobile(SAMSUNG Galaxy Z Flip6)

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue has not yet been reviewed or classified by maintainers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions