Skip to content

Commit

Permalink
Fix chat collapsible not closing completely
Browse files Browse the repository at this point in the history
  • Loading branch information
P-man2976 committed Nov 10, 2023
1 parent 9f9ab1a commit 4e0d0d9
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions packages/react/src/components/player/ChatCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ export function ChatCard({ id, status, channel, link }: PlaceholderVideo) {
</Button>
</CollapsibleTrigger>
<CollapsibleContent asChild>
<LiveChat
id={id}
status={status}
channelId={channel.id}
link={link}
/>
<div className="flex grow">
<LiveChat
id={id}
status={status}
channelId={channel.id}
link={link}
/>
</div>
</CollapsibleContent>
</Collapsible>
<Collapsible
Expand All @@ -64,7 +66,9 @@ export function ChatCard({ id, status, channel, link }: PlaceholderVideo) {
</Button>
</CollapsibleTrigger>
<CollapsibleContent asChild>
<TLChat videoId={id} />
<div className="flex grow">
<TLChat videoId={id} />
</div>
</CollapsibleContent>
</Collapsible>
</div>
Expand Down

0 comments on commit 4e0d0d9

Please sign in to comment.