Prevent reader progressbar tap highlighting on mobile
This commit is contained in:
@@ -35,4 +35,5 @@ export const ReaderProgressBarContainer = styled(Stack, {
|
|||||||
...applyStyles(getProgressBarPositionInfo(progressBarPosition).isRight, {
|
...applyStyles(getProgressBarPositionInfo(progressBarPosition).isRight, {
|
||||||
alignItems: theme.direction === 'ltr' ? 'flex-end' : 'flex-start',
|
alignItems: theme.direction === 'ltr' ? 'flex-end' : 'flex-start',
|
||||||
}),
|
}),
|
||||||
|
WebkitTapHighlightColor: 'transparent',
|
||||||
}));
|
}));
|
||||||
|
|||||||
@@ -18,4 +18,5 @@ export const ReaderProgressBarPageNumber = styled(Typography)({
|
|||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
WebkitTapHighlightColor: 'transparent',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user