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. #69094

Open
viralsampat-multidots opened this issue Feb 7, 2025 · 0 comments
Open
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [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

Expected behaviour

  • 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

Actual behaviour

The actual behaviour is when we trying to change border color at that time border size should be changed to 1 px instead of blank.

Screenshots or screen recording (optional)

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

WordPress information

  • WordPress version: WordPress 6.7.1 running
  • Gutenberg version: Version Version Version 20.2.0
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: MacBook Air M1
  • Operating system: macOS 15.3 (24D60)
  • WordPress app version: WordPress 6.7.1 running
@viralsampat-multidots viralsampat-multidots added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Feb 7, 2025
@dcalhoun dcalhoun added [Type] Bug An existing feature does not function as intended and removed Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels Feb 7, 2025
@Mamaduka Mamaduka marked this as a duplicate of #69095 Feb 8, 2025
@Mamaduka Mamaduka added the Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants