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

Gutenberg: long HTML anchors make the list view take a lot of space #43125

Closed
renata-franco opened this issue Aug 10, 2022 · 3 comments · Fixed by #43134
Closed

Gutenberg: long HTML anchors make the list view take a lot of space #43125

renata-franco opened this issue Aug 10, 2022 · 3 comments · Fixed by #43134
Assignees
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Bug An existing feature does not function as intended

Comments

@renata-franco
Copy link

renata-franco commented Aug 10, 2022

Description

When adding long HTML anchors to a block in the Advanced settings, the list view in the editor takes more and more space on the screen. Originally reported here: Automattic/wp-calypso#66300

Step-by-step reproduction instructions

  1. Add a block
  2. Open the list view
  3. Go to block settings > Advanced > HTML anchor
  4. Add a long anchor text
  5. Notice the width of the list view getting bigger

Screenshots, screen recording, code snippet

CleanShot.2022-08-10.at.17.18.35.mp4

Environment info

  • Gutenberg Version 13.8.0.
  • WordPress 6.0.1.

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

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Aug 10, 2022
@Mamaduka
Copy link
Member

Mamaduka commented Aug 10, 2022

I think this is a regression after #41855. Probably this line:

cc @andrewserong

@andrewserong
Copy link
Contributor

Oh, thanks @Mamaduka, I'll take a closer look.

@andrewserong
Copy link
Contributor

I've opened up a potential fix in #43134

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Aug 11, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [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