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

[Bug]: (ExpandableTile) Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>. #13361

Closed
2 tasks done
EmelyanovSI opened this issue Mar 16, 2023 · 0 comments · Fixed by #13365
Closed
2 tasks done
Labels
component: tile severity: 2 User cannot complete task, and/or no workaround type: a11y ♿ type: bug 🐛

Comments

@EmelyanovSI
Copy link
Contributor

EmelyanovSI commented Mar 16, 2023

Package

@carbon/react

Browser

Chrome, Firefox, Edge

Package version

v11.24.0

React version

v17.0.1

Description

There is a warning in console when we using ExpandableTile with interactive content in dev environment:

image

But in general there is no button nesting in dom tree:

image

Related issues, PRs and discussions

Reproduction/example

https://codesandbox.io/p/github/EmelyanovSI/carbon-tile-issue

Steps to reproduce

  1. Navigate reproduction/example link
  2. Open devtools console (F12)

Suggested Severity

Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tile severity: 2 User cannot complete task, and/or no workaround type: a11y ♿ type: bug 🐛
Projects
Archived in project
2 participants