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

Buttons Block: Border radius shows the wrong value after refreshing the browser #20812

Closed
bharath opened this issue Mar 11, 2020 · 5 comments
Closed
Labels
[Block] Buttons Affects the Buttons Block [Status] Needs More Info Follow-up required in order to be actionable.

Comments

@bharath
Copy link

bharath commented Mar 11, 2020

Describe the bug
In Buttons block, I drag the Border radius all the way to 50 and see the button rounded. Clicked Update. Then refreshed the browser window. The button is fully rounded but the Border radius shows the wrong value.

To reproduce
Steps to reproduce the behavior:

  1. Add button block.
  2. Adjust the Border radius all the way to 50.
  3. Click Update.
  4. Refresh the browser window.
  5. Button - Border radius reverts to showing 5. Even though the button visually shows fully rounded as 50.

Expected behavior
Border radius setting should show the value set by user even after refreshing the browser window.

Screenshots
After setting Border radius and updating the page:
Screenshot 2020-03-12 at 2 02 16 AM
After refreshing the browser window:
Screenshot 2020-03-12 at 2 02 51 AM

Desktop (please complete the following information):

  • MacOS
  • Chrome
  • 80.0.3987.132

Additional context

  • Tested with Gutenberg 7.7.0
  • Tested themes: Twenty Twenty, Twenty Nineteen, Twenty Seventeen and Genesis Sample theme.
@youknowriad
Copy link
Contributor

I'm not able to reproduce this issue personally. Anything particular about your installation, do you have editor plugins that could affect its behavior?

@youknowriad youknowriad added [Block] Buttons Affects the Buttons Block [Status] Needs More Info Follow-up required in order to be actionable. labels Mar 12, 2020
@paaljoachim
Copy link
Contributor

paaljoachim commented Mar 12, 2020

I am able to repeat this in Twenty Twenty, Twenty Nineteen, Twenty Seventeen and Twenty Sixteen.
Here is a gif from Twenty Nineteen.

Buttons-Block-Border-Radius-bug

I tested with a draft as well as a published page.
Using Chrome and Desktop Server (local site).
Gutenberg version 7.7 activated.

@youknowriad
Copy link
Contributor

I can reproduce this on my live site but not on Gutenberg master. I guess this was fixed by #20247

@paaljoachim
Copy link
Contributor

Does that mean this fix will be included in Gutenberg version 7.8?

@youknowriad
Copy link
Contributor

yes, or sooner if we decide to do a 7.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

3 participants