true
, the dropdown is initially open." },
"onOpenChange": {
"description": "Callback fired when the component requests to be opened or closed."
diff --git a/docs/translations/api-docs/use-menu/use-menu.json b/docs/translations/api-docs/use-menu/use-menu.json
index cf97ce23dcc386..07e143579e1a60 100644
--- a/docs/translations/api-docs/use-menu/use-menu.json
+++ b/docs/translations/api-docs/use-menu/use-menu.json
@@ -4,6 +4,9 @@
"autoFocus": {
"description": "If true
(Default) will focus the highligted item. If you set this prop to false
the focus will not be moved inside the Menu component. This has severe accessibility implications and should only be considered if you manage focus otherwise."
},
+ "componentName": {
+ "description": "The name of the component using useMenu. For debugging purposes."
+ },
"disabledItemsFocusable": {
"description": "If true
, it will be possible to highlight disabled items."
},
diff --git a/docs/translations/api-docs/use-select/use-select.json b/docs/translations/api-docs/use-select/use-select.json
index e083d00f9f7b16..e9c367b8131ece 100644
--- a/docs/translations/api-docs/use-select/use-select.json
+++ b/docs/translations/api-docs/use-select/use-select.json
@@ -5,6 +5,9 @@
"description": "A function used to determine if two options' values are equal. By default, reference equality is used.areOptionsEqual
prop (proportional to the number of options). Therefore, it's recommented to use the default reference equality comparison whenever possible."
},
"buttonRef": { "description": "The ref of the trigger button element." },
+ "componentName": {
+ "description": "The name of the component using useSelect. For debugging purposes."
+ },
"defaultOpen": { "description": "If true
, the select will be open by default." },
"defaultValue": {
"description": "The default selected value. Use when the component is not controlled."
diff --git a/packages/mui-base/src/Menu/Menu.tsx b/packages/mui-base/src/Menu/Menu.tsx
index b5cb6933cebc52..f9defa7cfe6e6b 100644
--- a/packages/mui-base/src/Menu/Menu.tsx
+++ b/packages/mui-base/src/Menu/Menu.tsx
@@ -50,6 +50,7 @@ const Menu = React.forwardRef(function Menu+ {state.make} {state.model} ({state.productionYear}) +
+ ); + } + + const { container, setProps } = render(+ {state.make} {state.model} ({state.productionYear}) +
+ ); + } + + const { container, setProps } = render(