fix composer toolbar position
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user