fix composer toolbar position

This commit is contained in:
Samuel Newman
2025-12-26 17:50:17 +00:00
parent bdfb156375
commit 61ffcb2393
+2 -3
View File
@@ -337,7 +337,7 @@ export const ComposePost = ({
// keyboard is closed, so we subtract that in the offset and add it back // keyboard is closed, so we subtract that in the offset and add it back
// here when the keyboard is open // here when the keyboard is open
(isAndroid && isKeyboardVisible) (isAndroid && isKeyboardVisible)
? insets.bottom ? insets.bottom * 2
: 0, : 0,
}), }),
[insets, isKeyboardVisible], [insets, isKeyboardVisible],
@@ -1654,8 +1654,7 @@ function useKeyboardVerticalOffset() {
// Android etc // Android etc
if (!isIOS) { if (!isIOS) {
// need to account for the edge-to-edge nav bar return bottom * -2
return bottom * -1
} }
// iPhone SE // iPhone SE