[Tabs] Components crashed when used with React 18 & Suspense #33276
Labels
bug 🐛
Something doesn't work
component: tabs
This is the name of the generic UI component, not the React module!
Milestone
Duplicates
Latest version
Current behavior 😯
When used together with Suspense, it crashes when Suspense is showing fallback, as the refs' current is null. It is similar to #32640
Codesandbox: https://codesandbox.io/s/awesome-moore-y9zl1o?file=/src/app.js
Expected behavior 🤔
Should not crash
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: