Skip to content

Commit

Permalink
fix(trackerActions): display tooltip on single touch on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Clm-Roig committed May 6, 2022
1 parent 20a96ef commit 8b85f26
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ const TrackerListActions: FC<Props> = ({
}}>
<Tooltip
arrow
// Fix delay enter / leave for mobile use
enterTouchDelay={50}
leaveTouchDelay={3000}
title={
selectedTrackers.length === 0 || !atLeastOneSelectedActive
? ''
Expand All @@ -132,6 +135,9 @@ const TrackerListActions: FC<Props> = ({
</MenuItem>
<Tooltip
arrow
// Fix delay enter / leave for mobile use
enterTouchDelay={50}
leaveTouchDelay={3000}
title={
selectedTrackers.length === 0 || !atLeastOneSelectedArchived
? ''
Expand Down

0 comments on commit 8b85f26

Please sign in to comment.