Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

♻️(frontend) delegate scroll to side panel content

lebaudantoine0370d9cad005
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 (
- <VStack padding="0 1.5rem">
+ <VStack padding="0 1.5rem" overflowY="scroll">
{localCameraTrack && isCameraEnabled ? (
<video
ref={videoRef}
diff --git a/src/frontend/src/features/rooms/livekit/components/SidePanel.tsx b/src/frontend/src/features/rooms/livekit/components/SidePanel.tsx
index 7967141b..5443a85b 100644
--- a/src/frontend/src/features/rooms/livekit/components/SidePanel.tsx
+++ b/src/frontend/src/features/rooms/livekit/components/SidePanel.tsx
@@ -58,7 +58,7 @@ const StyledSidePanel = ({
<RiCloseLine />
</Button>
</Div>
- <Div overflowY="scroll">{children}</Div>
+ {children}
</Box>
)
diff --git a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx
index 63207799..4c74c22e 100644
--- a/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx
+++ b/src/frontend/src/features/rooms/livekit/components/controls/Participants/ParticipantsList.tsx
@@ -44,7 +44,7 @@ export const ParticipantsList = () => {
// TODO - extract inline styling in a centralized styling file, and avoid magic numbers
return (
- <>
+ <Div overflowY="scroll">
<H
lvl={2}
className={css({
@@ -78,6 +78,6 @@ export const ParticipantsList = () => {
<ParticipantListItem participant={participant} />
)}
/>
- </>
+ </Div>
)
}