Skip to content

Splitting paragraph block - Deleting the first word after selecting it requires tapping backspace two times #3135

@fluiddot

Description

@fluiddot

Describe the bug
After splitting a paragraph, selecting the first word (it also happens just selecting the first letter) requires tapping backspace two times to delete it.

I spotted that we have other issues on Android for different blocks that involves deleting the first character. As an example we already have a similar issue reported related to the Heading block.

To Reproduce
Steps to reproduce the behavior:

  1. Write (or paste) a paragraph with a few lines.
  2. Set the caret by the half of the paragraph.
  3. Press Enter (Intro) to split the block into two.
  4. Select the first word of the new block.
  5. Tap backspace for deleting the selected text.
  6. Observe that the text is not deleted, only after tapping backspace again is deleted.

Expected behavior
The selected text should be deleted just by tapping backspace once.

Screenshots

split-paragraph-delete-first-word-android.mp4

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S20 5G
  • OS: Android 10
  • Version 16.7-rc-1

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions