-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List View: Allow Escape key to deselect blocks if blocks are selected (…
…#48708) * List View: Allow Escape key to deselect blocks if blocks are selected * Add comment, check which tab is active in post editor * Add speak call, use clearSelectedBlock action * Add behaviour to widgets editor, too * Move clear selection handling down to the List View container so that if focus is on the close or tab buttons, Escape closes the list view instead of clearing * Try selecting the last selected block when closing the list view if no blocks are selected * Revert changes * Try clearing the selection from within the list view * Revert change * Add test * Fix issue where announcement for deselection was not occurring
- Loading branch information
1 parent
b49f67b
commit 7a4330d
Showing
3 changed files
with
68 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7a4330d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 7a4330d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6078728815
📝 Reported issues:
/test/e2e/specs/editor/various/multi-block-selection.spec.js