Skip to content

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

[RN] Add workaround for Android view clipping

Saúl Ibarra Corretgé573ca97b6c60
diff --git a/react/features/conference/components/styles.js b/react/features/conference/components/styles.js
index ae07436ef5..d39a890316 100644
--- a/react/features/conference/components/styles.js
+++ b/react/features/conference/components/styles.js
@@ -18,6 +18,12 @@ export const styles = createStyleSheet({
conference: {
alignSelf: 'stretch',
backgroundColor: ColorPalette.appBackground,
+
+ // XXX These properties are a workaround for Android views clipping,
+ // RN doesn't properly blit our overlays on top of video views.
+ borderColor: ColorPalette.appBackground,
+ borderWidth: 0.2,
+
flex: 1
},
diff --git a/react/features/welcome/components/styles.js b/react/features/welcome/components/styles.js
index 4ea5f7949e..421fa46ee3 100644
--- a/react/features/welcome/components/styles.js
+++ b/react/features/welcome/components/styles.js
@@ -38,6 +38,12 @@ export const styles = createStyleSheet({
container: {
alignSelf: 'stretch',
backgroundColor: ColorPalette.blue,
+
+ // XXX These properties are a workaround for Android views clipping,
+ // RN doesn't properly blit our overlays on top of video views.
+ borderColor: ColorPalette.appBackground,
+ borderWidth: 0.2,
+
flex: 1
},