Skip to content

Commit

Permalink
[TextField] fix disappearing border in Safari (#31406)
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Dudak <[email protected]>
  • Loading branch information
krysia1 and michaldudak committed Mar 14, 2022
1 parent 144be20 commit 2efd0db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mui-material/src/OutlinedInput/NotchedOutline.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ const NotchedOutlineLegend = styled('legend')(({ ownerState, theme }) => ({
paddingLeft: 5,
paddingRight: 5,
display: 'inline-block',
opacity: 0,
visibility: 'visible',
},
...(ownerState.notched && {
maxWidth: '100%',
Expand Down

0 comments on commit 2efd0db

Please sign in to comment.