Message: Fix links system menu on Android (follow-up)

This commit is contained in:
Alexander Zinchuk 2021-08-23 03:59:27 +03:00
parent a9ef15fb34
commit 1de2cea724

View File

@ -54,7 +54,7 @@ export default function useOuterHandlers(
function handleContextMenu(e: React.MouseEvent<HTMLDivElement, MouseEvent>) {
if (IS_ANDROID) {
if (!(e.target as HTMLElement).matches('a[href]')) {
if ((e.target as HTMLElement).matches('a[href]')) {
return;
}