Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data/material/components/text-fields/text-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ import { useFormControl } from '@mui/material/FormControl';
## Performance

Global styles for the auto-fill keyframes are injected and removed on each mount and unmount, respectively.
If you are loading a large number of Text Field components at once, it might be a good idea to change this default behavior by enabling [`disableInjectingGlobalStyles`](/material-ui/api/input-base/#InputBase-prop-disableInjectingGlobalStyles) in `MuiInputBase`.
If you are loading a large number of Text Field components at once, it might be a good idea to change this default behavior by enabling [`disableInjectingGlobalStyles`](/material-ui/api/input-base/#input-base-prop-disableInjectingGlobalStyles) in `MuiInputBase`.
Make sure to inject `GlobalStyles` for the auto-fill keyframes at the top of your application.

```jsx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ prop `listItemClasses` is removed, use `classes` instead.
+<MenuItem classes={{...}}>
```

Read more about the [MenuItem CSS API](/material-ui/api/menu-item/#css).
Read more about the [MenuItem CSS API](/material-ui/api/menu-item/#classes).

## Modal

Expand Down