Remove unintentional touch bindings
Caused double clicks
This commit is contained in:
@@ -84,7 +84,6 @@ export const MangaOptionButton = forwardRef(
|
||||
ref={ref}
|
||||
{...bindTriggerProps}
|
||||
onClick={handleClick}
|
||||
onTouchStart={handleClick}
|
||||
aria-label="more"
|
||||
size="large"
|
||||
onMouseDown={preventDefaultAction}
|
||||
@@ -101,7 +100,6 @@ export const MangaOptionButton = forwardRef(
|
||||
ref={ref}
|
||||
{...bindTriggerProps}
|
||||
onClick={handleClick}
|
||||
onTouchStart={handleClick}
|
||||
className="manga-option-button"
|
||||
size="small"
|
||||
variant="contained"
|
||||
|
||||
@@ -56,7 +56,6 @@ export const TrackMangaButton = ({ manga }: { manga: MangaTrackRecordInfo & Pick
|
||||
size="medium"
|
||||
disabled={trackerList.loading || !!trackerList.error}
|
||||
onClick={() => handleClick(popupState.open)}
|
||||
onTouchStart={() => handleClick(popupState.open)}
|
||||
variant={trackersInUse.length ? 'contained' : 'outlined'}
|
||||
>
|
||||
{trackersInUse.length ? <CheckIcon /> : <SyncIcon />}
|
||||
|
||||
Reference in New Issue
Block a user