File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
package/src/components/Message/MessageSimple Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const styles = StyleSheet.create({
3838 borderTopLeftRadius : 16 ,
3939 borderTopRightRadius : 16 ,
4040 borderWidth : 1 ,
41+ overflow : 'hidden' ,
4142 } ,
4243 leftAlignContent : {
4344 justifyContent : 'flex-start' ,
@@ -154,6 +155,7 @@ const MessageContentWithContext = <
154155 borderRadiusS,
155156 borderTopLeftRadius,
156157 borderTopRightRadius,
158+ ...container
157159 } ,
158160 containerInner,
159161 replyBorder,
@@ -251,7 +253,7 @@ const MessageContentWithContext = <
251253 } ) ;
252254 }
253255 } }
254- style = { ( { pressed } ) => ( { opacity : pressed ? 0.5 : 1 } ) }
256+ style = { ( { pressed } ) => [ { opacity : pressed ? 0.5 : 1 } , container ] }
255257 { ...additionalPressableProps }
256258 >
257259 < View onLayout = { onLayout } style = { wrapper } >
You can’t perform that action at this time.
0 commit comments