tangled
alpha
login
or
join now
stream.place
/
streamplace
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
Move touchable without feedback to more targeted spot
Natalie B.
6 months ago
2456e507
a04ff5aa
+24
-24
1 changed file
expand all
collapse all
unified
split
js
app
components
mobile
chat.tsx
+24
-24
js/app/components/mobile/chat.tsx
···
46
46
}));
47
47
48
48
return (
49
49
-
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
50
50
-
<Animated.View
51
51
-
style={[
52
52
-
layout.position.absolute,
53
53
-
position.right[0],
54
54
-
{
55
55
-
top: safeAreaInsets.top,
56
56
-
bottom: safeAreaInsets.bottom,
57
57
-
right: safeAreaInsets.right / 2,
58
58
-
width: chatPanelWidth,
59
59
-
backgroundColor: "rgba(0, 0, 0, 0.85)",
60
60
-
borderLeftWidth: 1,
61
61
-
borderLeftColor: "rgba(255, 255, 255, 0.1)",
62
62
-
zIndex: 999,
63
63
-
},
64
64
-
animatedSidebarStyle,
65
65
-
]}
66
66
-
>
67
67
-
<View style={{ flex: 1, position: "relative" }}>
68
68
-
<ChatPanel />
69
69
-
</View>
70
70
-
</Animated.View>
71
71
-
</TouchableWithoutFeedback>
49
49
+
<Animated.View
50
50
+
style={[
51
51
+
layout.position.absolute,
52
52
+
position.right[0],
53
53
+
{
54
54
+
top: safeAreaInsets.top,
55
55
+
bottom: safeAreaInsets.bottom,
56
56
+
right: safeAreaInsets.right / 2,
57
57
+
width: chatPanelWidth,
58
58
+
backgroundColor: "rgba(0, 0, 0, 0.85)",
59
59
+
borderLeftWidth: 1,
60
60
+
borderLeftColor: "rgba(255, 255, 255, 0.1)",
61
61
+
zIndex: 999,
62
62
+
},
63
63
+
animatedSidebarStyle,
64
64
+
]}
65
65
+
>
66
66
+
<View style={{ flex: 1, position: "relative" }}>
67
67
+
<ChatPanel />
68
68
+
</View>
69
69
+
</Animated.View>
72
70
);
73
71
}
74
72
···
114
112
...(shouldShowChatSidePanel ? [px[4]] : []),
115
113
]}
116
114
>
117
117
-
<Chat canModerate={false} />
115
115
+
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
116
116
+
<Chat canModerate={false} />
117
117
+
</TouchableWithoutFeedback>
118
118
<View style={[layout.flex.column, gap.all[2], px[4]]}>
119
119
<ChatBox chatBoxStyle={{ borderRadius: borderRadius.xl }} />
120
120
</View>