diff --git a/packages/mui-material/src/FilledInput/FilledInput.js b/packages/mui-material/src/FilledInput/FilledInput.js index f78d1daaa7a9a0..5f0376cfc8a3ef 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.js +++ b/packages/mui-material/src/FilledInput/FilledInput.js @@ -124,7 +124,7 @@ const FilledInputRoot = styled(InputBaseRoot, { }`, left: 0, bottom: 0, - content: '"\\00a0"', + content: '""', position: 'absolute', right: 0, transition: theme.transitions.create('border-bottom-color', { diff --git a/packages/mui-material/src/Input/Input.js b/packages/mui-material/src/Input/Input.js index e8acb4e04c21a5..dc41a32ac1a75f 100644 --- a/packages/mui-material/src/Input/Input.js +++ b/packages/mui-material/src/Input/Input.js @@ -98,7 +98,7 @@ const InputRoot = styled(InputBaseRoot, { borderBottom: `1px solid ${bottomLineColor}`, left: 0, bottom: 0, - content: '"\\00a0"', + content: '""', position: 'absolute', right: 0, transition: theme.transitions.create('border-bottom-color', { diff --git a/test/regressions/fixtures/TextField/StandardTextField.js b/test/regressions/fixtures/TextField/StandardTextField.js new file mode 100644 index 00000000000000..cc6758bfff7a72 --- /dev/null +++ b/test/regressions/fixtures/TextField/StandardTextField.js @@ -0,0 +1,21 @@ +import * as React from 'react'; +import TextField from '@mui/material/TextField'; + +export default function StandardTextField() { + return ( +