Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3361228
D7698.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7698.diff
View Options
diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js
--- a/native/chat/composed-message.react.js
+++ b/native/chat/composed-message.react.js
@@ -94,10 +94,6 @@
{ marginBottom: containerMarginBottom },
highlightStyle,
];
- const swipeableMessageBoxStyle = [
- styles.swipeableContainer,
- { maxWidth: composedMessageMaxWidth },
- ];
const messageBoxContainerStyle = [styles.messageBoxContainer];
const positioningStyle = isViewer
@@ -151,19 +147,22 @@
avatar = <View style={styles.avatarOffset} />;
}
+ const messageBoxStyle = {
+ opacity: contentAndHeaderOpacity,
+ maxWidth: composedMessageMaxWidth,
+ };
+
const messageBox = (
<View style={messageBoxContainerStyle}>
<SwipeableMessage
triggerReply={triggerReply}
triggerSidebar={triggerSidebar}
isViewer={isViewer}
- contentStyle={swipeableMessageBoxStyle}
+ contentStyle={styles.swipeableContainer}
threadColor={item.threadInfo.color}
>
{avatar}
- <AnimatedView style={{ opacity: contentAndHeaderOpacity }}>
- {children}
- </AnimatedView>
+ <AnimatedView style={messageBoxStyle}>{children}</AnimatedView>
</SwipeableMessage>
</View>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 3:52 PM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577006
Default Alt Text
D7698.diff (1 KB)
Attached To
Mode
D7698: [native] Fix ComposedMessage width constraint to only include content
Attached
Detach File
Event Timeline
Log In to Comment