fix: dont process events if not visible
This commit is contained in:
@ -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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user