From 7af8443af2e2bdaca3677a4994635aaa49443ca8 Mon Sep 17 00:00:00 2001 From: chip Date: Wed, 4 Nov 2020 22:37:34 +0100 Subject: [PATCH] tweak(notification/nui): fix so the component is hidden when you click on any other nui element in the phone --- phone/src/ui/components/Notification.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phone/src/ui/components/Notification.tsx b/phone/src/ui/components/Notification.tsx index 851880d..37da3a7 100644 --- a/phone/src/ui/components/Notification.tsx +++ b/phone/src/ui/components/Notification.tsx @@ -32,7 +32,7 @@ function Notification({ children, handleClose, open }) { null }} + //ClickAwayListenerProps={{ onClickAway: () => null }} onClose={handleClose} open={open} TransitionComponent={Fade}