fix: dont process events if not visible

This commit is contained in:
Alejandro Gomez 2023-07-03 16:28:26 +02:00
parent 425730d12b
commit 01fa3da793
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -252,6 +252,7 @@ function ChatMessage({
top: topOffset - 12,
left: leftOffset - 32,
opacity: showZapDialog ? 1 : 0,
pointerEvents: showZapDialog ? "auto" : "none",
}
}
>