Skip to content

Commit e286992

Browse files
committed
fix(facetime): unresponsive media toggle buttons
1 parent f004e21 commit e286992

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

package-lock.json

Lines changed: 18 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/facetime/src/components/Facetime.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ import {
88
provideDyteDesignSystem,
99
} from '@dytesdk/react-ui-kit';
1010
import { useDyteMeeting, useDyteSelector } from '@dytesdk/react-web-core';
11-
import { useEffect } from 'react';
12-
13-
import { Mic, Video, X } from 'react-feather';
1411
import clsx from 'clsx';
12+
import { useEffect } from 'react';
1513
import Draggable from 'react-draggable';
14+
import { Mic, Video, X } from 'react-feather';
1615

1716
function Grid() {
1817
const { meeting } = useDyteMeeting();
@@ -150,9 +149,7 @@ export default function Facetime() {
150149
</DyteParticipantTile>
151150
</Draggable>
152151

153-
<Draggable bounds="parent">
154-
<Controlbar />
155-
</Draggable>
152+
<Controlbar />
156153
</div>
157154
);
158155
}

0 commit comments

Comments
 (0)