Skip to content

Commit

Permalink
Merge pull request zingolabs#767 from juanky201271/dev_android_keyboa…
Browse files Browse the repository at this point in the history
…rd_overlap_mesage_field

message field is behind the Keyboard
  • Loading branch information
juanky201271 authored Feb 7, 2025
2 parents 78488a4 + d82eaea commit 24cf975
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/Messages/components/MessageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ const MessageList: React.FunctionComponent<MessageListProps> = ({
height: address
? `${
100 -
((memoFieldHeight + (keyboardVisible ? (Platform.OS === GlobalConst.platformOSandroid ? 0 : 60) : 0)) *
((memoFieldHeight + (keyboardVisible ? (Platform.OS === GlobalConst.platformOSandroid ? 40 : 60) : 0)) *
100) /
dimensions.height
}%`
Expand Down Expand Up @@ -794,7 +794,7 @@ const MessageList: React.FunctionComponent<MessageListProps> = ({
<View
style={{
height: `${
((memoFieldHeight + (keyboardVisible ? (Platform.OS === GlobalConst.platformOSandroid ? 0 : 60) : 0)) *
((memoFieldHeight + (keyboardVisible ? (Platform.OS === GlobalConst.platformOSandroid ? 40 : 60) : 0)) *
100) /
dimensions.height
}%`,
Expand Down Expand Up @@ -894,6 +894,7 @@ const MessageList: React.FunctionComponent<MessageListProps> = ({
{!!memoIcon && !disableSend && (
<TouchableOpacity
onPress={() => {
Keyboard.dismiss();
setMemoModalVisible(true);
}}>
<FontAwesomeIcon style={{ margin: 7 }} size={30} icon={faMagnifyingGlassPlus} color={colors.border} />
Expand Down

0 comments on commit 24cf975

Please sign in to comment.