From c2446264e23ddbf2947a69ce7ff782902b7e62ec Mon Sep 17 00:00:00 2001 From: corlard3y Date: Wed, 22 May 2024 15:48:51 +0100 Subject: [PATCH 1/2] fix(chatviewlist): increase hidden/encrypted chat blur fix #1307 --- .../src/lib/components/chat/ChatViewList/ChatViewList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx index 985d357e3..bca4a80db 100644 --- a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx @@ -157,7 +157,6 @@ export const ChatViewList: React.FC = (options: IChatViewLis return () => clearTimeout(timer); } - return () => {}; }, [chatAcceptStream, participantJoinStream]); // Change listtype to 'UINITIALIZED' and hidden to true when participantRemoveStream or participantLeaveStream is received @@ -416,5 +415,5 @@ const ChatViewListCard = styled(Section)` `; const ChatViewListCardInner = styled(Section)` - filter: ${(props) => (props.blur ? 'blur(6px)' : 'none')}; + filter: ${(props) => (props.blur ? 'blur(12px)' : 'none')}; `; From b0ac6c50ca67226e94873110e93c58ef4e6c7701 Mon Sep 17 00:00:00 2001 From: corlard3y Date: Mon, 27 May 2024 10:47:52 +0100 Subject: [PATCH 2/2] fix: add return fn --- .../src/lib/components/chat/ChatViewList/ChatViewList.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx index bca4a80db..05d23a046 100644 --- a/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatViewList/ChatViewList.tsx @@ -157,6 +157,9 @@ export const ChatViewList: React.FC = (options: IChatViewLis return () => clearTimeout(timer); } + return () => { + // add comment + }; }, [chatAcceptStream, participantJoinStream]); // Change listtype to 'UINITIALIZED' and hidden to true when participantRemoveStream or participantLeaveStream is received