From 0370d9cad00512a8fe46d50753bb8a6cba5552a4 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 9 Oct 2024 17:28:41 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F(frontend)=20delegate=20scrol?= =?UTF-8?q?l=20to=20side=20panel=20content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow more flexibility in side panel behavior. Some panels, such as the chat, require specific scrolling functionality: - Header and footer should remain fixed - Only chat messages should be scrollable This change enables customization of scroll behavior for different panel types, improving component reusability. --- .../src/features/rooms/livekit/components/Effects.tsx | 2 +- .../src/features/rooms/livekit/components/SidePanel.tsx | 2 +- .../components/controls/Participants/ParticipantsList.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/features/rooms/livekit/components/Effects.tsx b/src/frontend/src/features/rooms/livekit/components/Effects.tsx index b1b933d1..f5857df5 100644 --- a/src/frontend/src/features/rooms/livekit/components/Effects.tsx +++ b/src/frontend/src/features/rooms/livekit/components/Effects.tsx @@ -94,7 +94,7 @@ export const Effects = () => { } return ( - + {localCameraTrack && isCameraEnabled ? (