Skip to content

Commit

Permalink
fix leak
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 27, 2020
1 parent b74e5eb commit caabadc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Autocomplete/Autocomplete.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2129,6 +2129,7 @@ describe('<Autocomplete />', () => {
onChange={handleChange}
onKeyDown={(event) => {
if (event.key === 'Enter') {
event.persist();
event.defaultMuiPrevented = true;
}
}}
Expand Down

0 comments on commit caabadc

Please sign in to comment.