Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(conference): stop onpress bubbling for components underneath the titlebar
Calin-Teodorff83276a2b87
diff --git a/react/features/conference/components/native/TitleBar.js b/react/features/conference/components/native/TitleBar.jsindex 48e720cd46..bf28adf3dc 100644--- a/react/features/conference/components/native/TitleBar.js+++ b/react/features/conference/components/native/TitleBar.js@@ -1,7 +1,7 @@// @flowimport React from 'react';-import { Text, View } from 'react-native';+import { Text, TouchableOpacity, View } from 'react-native';import { connect } from 'react-redux';import { getConferenceName, getConferenceTimestamp } from '../../../base/conference/functions';@@ -55,8 +55,7 @@ type Props = {* @returns {React.Node}*/const TitleBar = (props: Props) => (<>- {props._visible && <View- pointerEvents = 'box-none'+ {props._visible && <TouchableOpacity activeOpacity = { 1 }style = { styles.titleBarWrapper }><View style = { styles.pipButtonContainer }><PictureInPictureButton styles = { styles.pipButton } />@@ -92,7 +91,7 @@ const TitleBar = (props: Props) => (<><View style = { styles.titleBarButtonContainer }><ParticipantsPaneButton styles = { styles.titleBarButton } /></View>- </View>}+ </TouchableOpacity>}</>);/**diff --git a/react/features/conference/components/native/carmode/TitleBar.tsx b/react/features/conference/components/native/carmode/TitleBar.tsxindex 85216aa724..c7adaa51a7 100644--- a/react/features/conference/components/native/carmode/TitleBar.tsx+++ b/react/features/conference/components/native/carmode/TitleBar.tsx@@ -1,7 +1,7 @@/* eslint-disable lines-around-comment */import React from 'react';-import { StyleProp, Text, View, ViewStyle } from 'react-native';+import { StyleProp, Text, TouchableOpacity, View, ViewStyle } from 'react-native';import { connect, useSelector } from 'react-redux';import { IReduxState } from '../../../../app/types';@@ -46,9 +46,9 @@ const TitleBar = (props: IProps): JSX.Element => {const localParticipant = useSelector(getLocalParticipant);const localParticipantId = localParticipant?.id;- return (<>- <View- pointerEvents = 'box-none'+ return (+ <TouchableOpacity+ activeOpacity = { 1 }style = { styles.titleBarWrapper as StyleProp<ViewStyle> }><ViewpointerEvents = 'box-none'@@ -76,8 +76,8 @@ const TitleBar = (props: IProps): JSX.Element => {</View>}</View>- </View>- </>);+ </TouchableOpacity>+ );};/**