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

List: deleting sub items requires deleting twice #40979

Open
annezazu opened this issue May 10, 2022 · 5 comments · May be fixed by #42503
Open

List: deleting sub items requires deleting twice #40979

annezazu opened this issue May 10, 2022 · 5 comments · May be fixed by #42503
Labels
[Block] List Affects the List Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

annezazu commented May 10, 2022

Description

When trying to delete sub items in the v2 of the List block, it requires deleting the block twice and you can only remove the block if you use the three dot menu (keyboard controls don't seem to work). This was found as part of testing for the FSE Outreach Program's fourteenth call for testing.

Step-by-step reproduction instructions

  1. Enable the List block experiment in Gutenberg > experiments.
  2. Add a list block.
  3. Add an initial item.
  4. Add a sub item to that first item.
  5. Try to delete it with your keyboard (you can't).
  6. Try to delete it from the three dot ellipsis menu.
  7. Notice that if there's content in the list item, it clears it but doesn't delete the list item.
  8. Delete again and notice it removes the sub item finally.

Screenshots, screen recording, code snippet

double.delete.list.mov
deletion.mov

Environment info

  • WordPress 6.0 RC 2.
  • GB Version 13.1.0
  • TT2

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Block] List Affects the List Block labels May 10, 2022
@ellatrix
Copy link
Member

#42503 also fixes this issue.

@annezazu
Copy link
Contributor Author

Noting what this looks like in 6.3 RC1:

rc1.mov

@mtias mtias changed the title List V2: deleting sub items requires deleting twice List: deleting sub items requires deleting twice Aug 4, 2023
@annezazu annezazu moved this to Needs Dev / Todo in WordPress 6.4 Editor Tasks Aug 30, 2023
@bph bph moved this from Needs Dev / Todo to Punted to 6.5 in WordPress 6.4 Editor Tasks Sep 23, 2023
@bph bph added the [Status] In Progress Tracking issues with work in progress label Nov 23, 2023
@bph bph moved this to 🏗️ In Progress in WordPress 6.5 Editor Tasks Nov 23, 2023
@annezazu
Copy link
Contributor Author

annezazu commented Feb 5, 2024

The PR hasn't yet been merged and with 6.5 Beta 1 next week, let's punt this.

@colorful-tones
Copy link
Member

Hi folks,
We are only one week away from the Beta 1 cut-off date for WordPress 6.6. This issue hasn’t seen any movement in a while, so we (the editor triage leads of the 6.6 release) have decided to remove it from the WordPress 6.6 Editor Tasks project board.

@colorful-tones
Copy link
Member

I don't think this is an issue anymore and we can likely close this out. See notes here: #42503 (comment)

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 [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants