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

View File

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