Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(toolbox): stop onpress bubbling for components underneath the toolbox

Calin-Teodorc8346279492c
diff --git a/react/features/toolbox/components/native/Toolbox.js b/react/features/toolbox/components/native/Toolbox.js
index e47ceb1e26..4ca74e963e 100644
--- a/react/features/toolbox/components/native/Toolbox.js
+++ b/react/features/toolbox/components/native/Toolbox.js
@@ -1,7 +1,7 @@
// @flow
import React from 'react';
-import { View } from 'react-native';
+import { TouchableOpacity, View } from 'react-native';
import { SafeAreaView } from 'react-native-safe-area-context';
import { connect } from 'react-redux';
@@ -92,8 +92,8 @@ function Toolbox(props: Props) {
}
return (
- <View
- pointerEvents = 'box-none'
+ <TouchableOpacity
+ activeOpacity = { 1 }
style = { styles.toolboxContainer }>
<SafeAreaView
accessibilityRole = 'toolbar'
@@ -135,7 +135,7 @@ function Toolbox(props: Props) {
styles = { hangupButtonStyles } />
}
</SafeAreaView>
- </View>
+ </TouchableOpacity>
);
}