diff --git a/packages/components/KeyboardAvoidingView.tsx b/packages/components/KeyboardAvoidingView.tsx index 9935339418..9ee4ba7f9c 100644 --- a/packages/components/KeyboardAvoidingView.tsx +++ b/packages/components/KeyboardAvoidingView.tsx @@ -23,7 +23,7 @@ export const KeyboardAvoidingView = ({ return ( {children} diff --git a/packages/screens/Mini/Feed/components/detailView/MiniArticlePostDetails.tsx b/packages/screens/Mini/Feed/components/detailView/MiniArticlePostDetails.tsx index 6f613e437d..be0514da91 100644 --- a/packages/screens/Mini/Feed/components/detailView/MiniArticlePostDetails.tsx +++ b/packages/screens/Mini/Feed/components/detailView/MiniArticlePostDetails.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useMemo, useRef, useState } from "react"; -import { useWindowDimensions, View } from "react-native"; +import { View, useWindowDimensions, KeyboardAvoidingView } from "react-native"; import Animated, { useAnimatedRef, useAnimatedScrollHandler, @@ -11,7 +11,6 @@ import CustomAppBar from "../../../components/AppBar/CustomAppBar"; import { Post } from "@/api/feed/v1/feed"; import { BrandText } from "@/components/BrandText"; -import { KeyboardAvoidingView } from "@/components/KeyboardAvoidingView"; import { OptimizedImage } from "@/components/OptimizedImage"; import { ScreenContainer } from "@/components/ScreenContainer"; import { CommentsContainer } from "@/components/cards/CommentsContainer"; @@ -123,7 +122,11 @@ export const MiniArticlePostDetails = ({ post, refetchPost }: Props) => { if (!metadataToUse) return null; return ( - + { style={{ flexDirection: "column", justifyContent: "space-between", + flex: 1, }} > { + const { width: windowWidth } = useWindowDimensions(); return (