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

Group Block: Show Error "Tooltip should be called with only a single child element. " #22989

Closed
torounit opened this issue Jun 8, 2020 · 1 comment · Fixed by #23019
Closed
Assignees
Labels
[Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@torounit
Copy link
Member

torounit commented Jun 8, 2020

Describe the bug

Insert Group block, show error on console Tooltip should be called with only a single child element.

To reproduce
Steps to reproduce the behavior:
1 . Insert Group block
4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Editor version (please complete the following information):

  • WordPress version: 5.4
  • Gutenberg edbd8ae
@torounit torounit added [Package] Components /packages/components [Type] Bug An existing feature does not function as intended labels Jun 8, 2020
@torounit
Copy link
Member Author

torounit commented Jun 8, 2020

I checked the children in Tooltip when the error occurs and found the following

[
" ",
<Button className="'block-editor-button-block-appender" />,
" "
]

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[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
Development

Successfully merging a pull request may close this issue.

1 participant