Skip to content

Commit

Permalink
Improve migration copy
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Yu <[email protected]>
Signed-off-by: Diego Andai <[email protected]>
  • Loading branch information
DiegoAndai and mj12albert authored Aug 17, 2023
1 parent 7867d5f commit 26ccb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material-next/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ If you need to prevent default on a `key-up` and/or `key-down` event, then besid
</Button>
```

This is so the default is also prevented when the `ButtonBase` root is not a native button, for example, when the root element used is a `span`.
This is to ensure that default is prevented when the `ButtonBase` root is not a native button, for example, when the root element used is a `span`.

## Slider

Expand Down

0 comments on commit 26ccb4b

Please sign in to comment.