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

Warning: React does not recognize the isButton prop on a DOM element. #9785

Closed
amdrew opened this issue Sep 11, 2018 · 1 comment
Closed
Labels
[Type] Bug An existing feature does not function as intended

Comments

@amdrew
Copy link
Contributor

amdrew commented Sep 11, 2018

Latest master branch.

Describe the bug

When inserting a paragraph block and then opening the Color Settings panel, the following error appears in the browser console:

Warning: React does not recognize the `isButton` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isbutton` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

To Reproduce
Steps to reproduce the behavior:

  1. Insert a paragraph block
  2. Click on the Color Settings panel to open the color settings
  3. View the browser's console
  4. See error above

Expected behavior
No error when switching to the color settings panel.

amdrew added a commit to amdrew/gutenberg that referenced this issue Sep 11, 2018
@amdrew
Copy link
Contributor Author

amdrew commented Sep 11, 2018

PR: #9786

amdrew added a commit to amdrew/gutenberg that referenced this issue Sep 11, 2018
@Soean Soean added [Type] Bug An existing feature does not function as intended [Component] Button labels Sep 11, 2018
tofumatt pushed a commit that referenced this issue Sep 11, 2018
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