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 border block setting should be working properly #69095

Closed
3 of 6 tasks
viralsampat-multidots opened this issue Feb 7, 2025 · 1 comment
Closed
3 of 6 tasks
Labels
[Type] Bug An existing feature does not function as intended

Comments

@viralsampat-multidots
Copy link
Contributor

Description

Hello Team,

I have Worked on gutenberg block into the twenty-twenty three theme and found that Block border setting is not working properly as expected.

When we add paragraph to paragraph block and then change "Border Color" from the block setting, Then there is no border px add into the border block setting, But the border is adding to the paragraph. I just changed border color, Not adding border px.

If this is the behaviour that if we will make any change into to border color, Then border will add to the block. Then I think that the px should be change to 1px instead of kept it blank when we change border color.

When we change border size using border range control and set it to 0, And we are test it again and change only border color from border block setting, At that time border px is changing to 1px instead of blank.

So, I think that the border size should be change at very first time when we change only border color, So we can easily seeing that border size.

For better understanding, here I have attached its video:

Thanks,

Step-by-step reproduction instructions

  • Select paragraph block
  • Add any text to paragraph
  • Change border color from block settings
  • Check border size was not changed when we change it color

Screenshots, screen recording, code snippet

Screen.Recording.2025-02-07.at.3.36.35.PM.mp4

Environment info

  • WordPress version: WordPress 6.7.1 running
  • Theme: Twenty Twenty Three
  • Browser: Google Chrome, Version 132.0.6834.160 (Official Build) (arm64)
  • Device: MacBook Air M1
  • OS: macOS 15.3 (24D60)
  • Gutenberg plugin: Version Version Version 20.2.0

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@viralsampat-multidots viralsampat-multidots added the [Type] Bug An existing feature does not function as intended label Feb 7, 2025
@Mamaduka
Copy link
Member

Mamaduka commented Feb 8, 2025

Closing as duplicate of #69094.

@Mamaduka Mamaduka closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants