Refactor leveraging the fact, things blocking shortcuts are using react
portals.
This commit is contained in:
@@ -230,7 +230,6 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
// This function incorrectly assumes that there is a camera and microphone, which is not always the case.
|
||||
// TODO: Make sure that this module is resilient when it comes to camera/microphone availability!
|
||||
useCallViewKeyboardShortcuts(
|
||||
containerRef1,
|
||||
toggleAudio,
|
||||
toggleVideo,
|
||||
setAudioEnabled,
|
||||
|
||||
Reference in New Issue
Block a user