Fix long message not displaying for message attachments in android (#2031)
This commit is contained in:
parent
b4ca6421a0
commit
648082f385
1 changed files with 2 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ export default class MessageAttachment extends PureComponent {
|
|||
>
|
||||
<View
|
||||
style={[(isLongText && collapsed && {maxHeight, overflow: 'hidden'})]}
|
||||
removeClippedSubviews={isLongText && collapsed}
|
||||
removeClippedSubviews={isLongText && collapsed && Platform.OS !== 'android'}
|
||||
>
|
||||
<Markdown
|
||||
baseTextStyle={baseTextStyle}
|
||||
|
|
@ -526,6 +526,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
moreLess: {
|
||||
color: theme.linkColor,
|
||||
fontSize: 12,
|
||||
marginTop: 5,
|
||||
},
|
||||
headingContainer: {
|
||||
alignSelf: 'stretch',
|
||||
|
|
|
|||
Loading…
Reference in a new issue