From dba6f4bb1fd4800f2c0309433bfbb9846e58acc8 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 24 Mar 2025 21:11:13 +0200 Subject: Revert "Small revert to be on the safe side (#7932)" (#7958) This reverts commit 0014b8b9cd0a5858ea7fad31361e5b611296e912. --- src/view/com/composer/Composer.tsx | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) (limited to 'src/view/com/composer/Composer.tsx') diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index e8fe1a7ce..e80b80449 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -657,6 +657,7 @@ export const ComposePost = ({ ref={scrollViewRef} layout={native(LinearTransition)} onScroll={scrollHandler} + contentContainerStyle={a.flex_grow} style={a.flex_1} keyboardShouldPersistTaps="always" onContentSizeChange={onScrollViewContentSizeChange} @@ -795,19 +796,22 @@ let ComposerPost = React.memo(function ComposerPost({ ) return ( - - + + )} - - - {embed.quote?.uri ? ( + {embed.quote?.uri ? ( + @@ -1088,8 +1091,8 @@ function ComposerEmbeds({ dispatch({type: 'embed_remove_quote'})} /> )} - ) : null} - + + ) : null} ) } @@ -1469,7 +1472,6 @@ const styles = StyleSheet.create({ marginLeft: 12, }, stickyFooterWeb: { - // @ts-ignore web-only position: 'sticky', bottom: 0, }, @@ -1503,19 +1505,9 @@ const styles = StyleSheet.create({ justifyContent: 'center', marginRight: 5, }, - post: { - marginHorizontal: 16, - }, inactivePost: { opacity: 0.5, }, - textInputLayout: { - flexDirection: 'row', - paddingTop: 4, - }, - textInputLayoutMobile: { - flex: 1, - }, addExtLinkBtn: { borderWidth: 1, borderRadius: 24, -- cgit 1.4.1