Skip to content

Removing empty List block with delete key fails, leads to iOS crash #44990

@dcalhoun

Description

@dcalhoun

Description

When attempting to remove an empty List block by pressing the keyboard delete key, the block is not removed on Android and the app crashes on iOS.

Step-by-step reproduction instructions

  1. Add a List block to the content.
  2. Pressing the Delete key.

Expected behaviour

The List block is removed and replaced with a Paragraph block.

Actual behaviour

Android: The List block is not removed nor replaced.
iOS: The app crashes.

Screenshots or screen recording (optional)

Android Screencast
Screen_Recording_20221014-145708_WordPress.Pre-Alpha.mp4
iOS Screencast
RPReplay_Final1665777602.MP4

WordPress information

  • WordPress version: 6.1
  • Gutenberg version: 14.3.0
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Geologist

Device information

  • Device: Samsung Galaxy S20, iPhone SE
  • Operating system: Android 12, iOS 16.1
  • WordPress app version: 1.84.0 or soon-to-be 20.10 beta

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Block] ListAffects the List Block[Priority] HighUsed to indicate top priority items that need quick attention[Type] RegressionRelated to a regression in the latest release

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions