Prevent native mobile menu on long press
This commit is contained in:
@@ -66,7 +66,7 @@ export const MangaGridCard = memo(
|
||||
onClick={handleClick}
|
||||
to={mangaLinkTo}
|
||||
state={Mangas.createLocationState(manga, mode)}
|
||||
sx={{ textDecoration: 'none', touchCallout: 'none' }}
|
||||
sx={{ textDecoration: 'none', userSelect: 'none' }}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
|
||||
@@ -48,7 +48,7 @@ export const MangaListCard = memo(
|
||||
onClick={handleClick}
|
||||
{...longPressBind(() => popupState.open(optionButtonRef.current))}
|
||||
sx={{
|
||||
touchCallout: 'none',
|
||||
userSelect: 'none',
|
||||
'@media (hover: hover) and (pointer: fine)': {
|
||||
'&:hover .manga-option-button': {
|
||||
visibility: 'visible',
|
||||
|
||||
Reference in New Issue
Block a user