Skip to content

Commit

Permalink
no transition, disable ripple
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Jan 19, 2020
1 parent e56f582 commit ae3ee0a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const styles = theme => ({
height: 32,
margin: '0 3px',
color: theme.palette.text.primary,
transition: theme.transitions.create('background-color', {
duration: theme.transitions.duration.short,
}),
'&:hover, &:focus': {
backgroundColor: fade(theme.palette.action.active, theme.palette.action.hoverOpacity),
// Reset on touch devices, it doesn't add specificity
Expand Down Expand Up @@ -276,6 +273,7 @@ const PaginationItem = React.forwardRef(function PaginationItem(props, ref) {
[classes.selected]: selected,
[classes[`size${capitalize(size)}`]]: size !== 'medium',
})}
disableRipple
{...other}
>
{type === 'page' && page}
Expand Down

0 comments on commit ae3ee0a

Please sign in to comment.