Skip to content
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions packages/material-ui/src/InputBase/InputBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ const InputBase = React.forwardRef(function InputBase(inProps, ref) {
<React.Fragment>
<GlobalStyles
styles={{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just learned that @babel/plugin-transform-constant-elements deopts mutable props. This unlocks a bunch of optimizations actually since we treat props as immutable all the time. Will investigate in a follow-up.

'@keyframes mui-auto-fill': {},
'@keyframes mui-auto-fill-cancel': {},
'@keyframes mui-auto-fill': { from: {} },
'@keyframes mui-auto-fill-cancel': { from: {} },
}}
/>
<Root
Expand Down