[material-ui][Tabs] Error preventing the tab to get selected #40237
Labels
component: tabs
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
status: waiting for author
Issue with insufficient information
Duplicates
Latest version
Steps to reproduce 馃暪
Link to live example:
Steps:
Current behavior 馃槸
I get the following error on the browser console and also the tab never gets underlined like when it is selected
Expected behavior 馃
The tab has to be marked as selected and the error not shown in console since the value provided is valid
Context 馃敠
The idea of my code was to have some tabs displayed or not based on the role of the user
Your environment 馃寧
System:
OS: macOS 14.1.1
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.17.1/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
Browsers:
Chrome: 120.0.6099.109
Edge: 116.0.1938.81
Safari: 17.1
npmPackages:
@emotion/react: ^11.10.5 => 11.11.1
@emotion/styled: ^11.10.5 => 11.11.0
@mui/base: 5.0.0-beta.24
@mui/core-downloads-tracker: 5.14.18
@mui/icons-material: ^5.14.3 => 5.14.18
@mui/material: ^5.14.4 => 5.14.18
@mui/private-theming: 5.14.18
@mui/styled-engine: 5.14.18
@mui/system: 5.14.18
@mui/types: 7.2.9
@mui/utils: 5.14.18
@types/react: 18.2.39
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
typescript: 4.9.5
The text was updated successfully, but these errors were encountered: