autoFocus
not working when Textfield
is mounted by clicking on the MenuItem
within Menu
#35996
Open
2 tasks done
Labels
component: text field
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
Steps:
Toggle
ButtonautoFocus
is working as expected.Toggle
Button again to hide the TextfieldOpen Menu
ButtonToggle
within the MenuautoFocus
is not workingCurrent behavior 😯
It is not autoFocus the
Textfield
.Expected behavior 🤔
It is autoFocus the
Textfield
.Context 🔦
I have a form that will open after clicking on the option in the
Menu
. I want it to autoFocus theTextfield
when the form is open.Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: