Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to split List V2 block from middle of list #43873

Closed
dcalhoun opened this issue Sep 5, 2022 · 1 comment
Closed

Unable to split List V2 block from middle of list #43873

dcalhoun opened this issue Sep 5, 2022 · 1 comment
Assignees
Labels
[Block] List Affects the List Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Regression Related to a regression in the latest release

Comments

@dcalhoun
Copy link
Member

dcalhoun commented Sep 5, 2022

Description

When the cursor is placed at the end of a list item position in the middle of the list, it is not possibly to split the list block by pressing the Return key twice. This appears to have begun occurring with List V2 blocks enabled using inner blocks.

Step-by-step reproduction instructions

  1. Insert a List block with the native editor.
  2. Add at least three items to the list.
  3. Place the cursor at the end of one of the items in the middle of the list.
  4. Press the Return twice.

Expected behaviour

The List block is split in half. The editor contains:

  1. A List block with the first half of list items.
  2. An empty Paragraph block with cursor focus.
  3. A List block with the second half of list items.

Actual behaviour

The editor contains a single List block with an item list item in the middle of the list.

Screenshots or screen recording (optional)

Expected
expected.MP4
Actual
actual.MP4

WordPress information

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

Device information

  • Device: iPhone SE
  • Operating system: iOS 16 beta 6
  • WordPress app version: 20.5
@dcalhoun dcalhoun added [Type] Regression Related to a regression in the latest release Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Block] List Affects the List Block labels Sep 5, 2022
@geriux geriux self-assigned this Sep 6, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 7, 2022
@geriux
Copy link
Member

geriux commented Sep 13, 2022

Closing since the fix was already addressed and we will track adding E2E tests in this issue #44113

@geriux geriux closed this as completed Sep 13, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

3 participants