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

Spacer shows null in the dimension tooltip #47418

Closed
draganescu opened this issue Jan 25, 2023 · 2 comments · Fixed by #58909
Closed

Spacer shows null in the dimension tooltip #47418

draganescu opened this issue Jan 25, 2023 · 2 comments · Fixed by #58909
Assignees
Labels
[Block] Spacer Affects the Spacer Block [Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@draganescu
Copy link
Contributor

Description

When dragging the spacer block to resize it horizontally, when there is no way to resize it vertically the tooltip informing of the achieved result is showing a "null" string for vertical size.

Step-by-step reproduction instructions

  1. Edit a header template part in isolation
  2. Add a navigation block, if one does not exist
  3. In the navigation block add a spacer
  4. Drag to resize the spacer horizontally
  5. Notice the bug

Screenshots, screen recording, code snippet

Screenshot 2023-01-25 at 12 18 26

Environment info

No response

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

@draganescu draganescu added [Type] Bug An existing feature does not function as intended [Block] Spacer Affects the Spacer Block labels Jan 25, 2023
@glendaviesnz glendaviesnz added the [Package] Components /packages/components label Jan 27, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Mar 20, 2023
@richtabor
Copy link
Member

when there is no way to resize it vertically

Do you know why this is a limitation? Seems odd that there's an arbitrary height applied (24px) when used within a Row block.

@draganescu
Copy link
Contributor Author

No, I have not looked into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Spacer Affects the Spacer Block [Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
5 participants