Skip to content

Commit

Permalink
fix leak
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 14, 2020
1 parent bec6be1 commit 03b3dfd
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 @@ -2126,6 +2126,7 @@ describe('<Autocomplete />', () => {
onChange={handleChange}
onKeyDown={(event) => {
if (event.key === 'Enter') {
event.persist();
event.defaultMuiPrevented = true;
}
}}
Expand Down

0 comments on commit 03b3dfd

Please sign in to comment.