Prevent scrolling while dragging on the reader progress bar

On e.g., iOS changing the current page via dragging the progress bar caused the reader to scroll, which made the progress dragging act weirdly
This commit is contained in:
schroda
2025-04-27 01:05:25 +02:00
parent beda5096d1
commit a1cdc785c1

View File

@@ -19,6 +19,7 @@ export const ReaderProgressBarContainer = styled(Stack, {
})<ReaderProgressBarContainerProps>(({ theme, progressBarPosition }) => ({
position: 'fixed',
pointerEvents: 'all',
touchAction: 'none',
...applyStyles(getProgressBarPositionInfo(progressBarPosition).isHorizontal, {
justifyContent: 'flex-end',
bottom: 0,