Prevent reader progressbar tooltips on mobile
This commit is contained in:
@@ -29,6 +29,7 @@ export const ReaderProgressBarCurrentPageSlot = ({
|
||||
tooltip: { sx: { backgroundColor: 'primary.main', color: 'primary.contrastText' } },
|
||||
}}
|
||||
placement={READER_PROGRESS_BAR_POSITION_TO_PLACEMENT[progressBarPosition]}
|
||||
disableTouchListener
|
||||
>
|
||||
<Box
|
||||
{...boxProps}
|
||||
|
||||
@@ -19,6 +19,7 @@ export const ReaderProgressBarSlot = memo(
|
||||
{...slotProps?.tooltip}
|
||||
title={pageName}
|
||||
placement={READER_PROGRESS_BAR_POSITION_TO_PLACEMENT[progressBarPosition]}
|
||||
disableTouchListener
|
||||
>
|
||||
<Box {...slotProps?.box} sx={{ width: '100%', height: '100%', ...slotProps?.box?.sx }}>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user