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]: Tabs, TabList, Tab, TabPanels and TabPanel broken with React 19 #18574

Open
2 tasks done
nstuyvesant opened this issue Feb 12, 2025 · 0 comments
Open
2 tasks done

Comments

@nstuyvesant
Copy link
Contributor

Package

@carbon/react

Browser

Safari

Package version

1.76.0

React version

19.0.0

Description

After upgrading project to React 19, components that used Tabs, TabList, Tab, TabPanels and TabPanel stopped displaying their tabs and tab content.

Reverting to React 18, everything works with no code changes.

Reproduction/example

https://stackblitz.com/edit/github-yncvxyat?file=src%2FApp.tsx

Steps to reproduce

  1. Navigate to https://stackblitz.com/edit/github-yncvxyat?file=src%2FApp.tsx
  2. Observe how the tabs did not show up on the right side
  3. Modify the package.json and change the version of react and react-dom to "18.x"
  4. Run yarn install
  5. Run yarn dev
  6. Observe how the tabs are available.

Suggested Severity

Severity 1 = Must be fixed ASAP. The response must be swift. Someone from the team must drop all current work and be immediately reassigned to address the issue.

Application/PAL

@carbon/charts

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant