mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-06 09:29:29 +00:00
Update the long Press trigger time
This commit is contained in:
parent
4f56ea01b5
commit
fab5bf48a1
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ const Button = React.forwardRef(({ className, href, disabled, children, onLongPr
|
|||
//alert('longpress detected');
|
||||
onLongPress();
|
||||
}
|
||||
}, 600); // values less than 600 will cause an artifact of previous menus staying on screen.
|
||||
}, 650); // an artifact of previous menus staying on the screen will happen on Safari if the timeout was set to 600 and less, and 650 for PWA.
|
||||
};
|
||||
const onTouchEnd = function () {
|
||||
clearTimeout(pressTimer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue