Skip to content

Commit

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

0 comments on commit 6cf4eb5

Please sign in to comment.