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

Select mode: If text is selected when entering, you can't select other blocks #62621

Open
jasmussen opened this issue Jun 17, 2024 · 1 comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. [Type] Bug An existing feature does not function as intended

Comments

@jasmussen
Copy link
Contributor

Description

If you've first selected text, then press Escape to enter select mode, you can't select other blocks. When you try, focus goes back to the block with the selected text.

Step-by-step reproduction instructions

  1. Go to the site editor
  2. Select some text in a block, can be a heading.
  3. Press Esc to enter select mode
  4. Try to click another block.

Focus moves back to the block that has selected text. I would expect the selection to disappear and the new block be selected.

Screenshots, screen recording, code snippet

select mode

Environment info

Nighty WordPress, trunk Gutenberg.

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

@jasmussen jasmussen added the [Type] Bug An existing feature does not function as intended label Jun 17, 2024
@jordesign jordesign added the General Interface Parts of the UI which don't fall neatly under other labels. label Jun 21, 2024
@Mamaduka
Copy link
Member

Mamaduka commented Jul 3, 2024

I wonder if this has the same cause as my issue #58788.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants