Skip to content

Commit 6969c7c

Browse files
committed
fix: floating composer padding
1 parent adf457d commit 6969c7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package/src/components/MessageInput/MessageInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ const MessageInputWithContext = (props: MessageInputPropsWithContext) => {
363363
style={{
364364
paddingBottom:
365365
selectedPicker && !isKeyboardVisible
366-
? attachmentPickerBottomSheetHeight - bottomInset + 16
367-
: 16,
366+
? attachmentPickerBottomSheetHeight - bottomInset
367+
: 0,
368368
}}
369369
/>
370370
) : null}

package/src/components/MessageList/MessageList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ const MessageListWithContext = (props: MessageListPropsWithContext) => {
13141314
style={[
13151315
{
13161316
bottom: messageInputFloating
1317-
? messageInputHeight + primitives.spacingMd
1317+
? messageInputHeight + primitives.spacingMd + 16
13181318
: primitives.spacingMd,
13191319
},
13201320
styles.scrollToBottomButtonContainer,

0 commit comments

Comments
 (0)