-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
duplicateThis issue or pull request already exists.This issue or pull request already exists.scope: tabsChanges related to the tabs.Changes related to the tabs.
Description
v5.0.4
Much like the description in #8489, when using dynamic data to generate tabs and their contents, I receive the error:
MUI: The
valueprovided to the Tabs component is invalid. The
Tab with thisvalue("0") is not part of the document layout.
Make sure the tab item is present in the document or that it's not
display: none.
However, this only occurs once in our app after a hard refresh. I have reproduced this in a code sandbox however, it seems that there may be some caching with codesandbox.io that prevents it from happening.
In order to reproduce it in Codesandbox, you will need to add or remove a dependency such as lodash or something from the fork.
https://codesandbox.io/s/sparkling-grass-sfidi?file=/src/TabIssue.jsx
mvatanya and vicentedr96
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already exists.This issue or pull request already exists.scope: tabsChanges related to the tabs.Changes related to the tabs.