From 8f617e04d1a48fc8f5a1b02e2fb95f2f3dcc7b6d Mon Sep 17 00:00:00 2001 From: Xor290 Date: Wed, 22 Apr 2026 09:59:33 +0200 Subject: [PATCH] chore: add scroll in modal --- frontend-admin/src/components/ui/Modal.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend-admin/src/components/ui/Modal.tsx b/frontend-admin/src/components/ui/Modal.tsx index da3a8794..2687f4cc 100644 --- a/frontend-admin/src/components/ui/Modal.tsx +++ b/frontend-admin/src/components/ui/Modal.tsx @@ -2,6 +2,7 @@ import React, { type ReactNode, useEffect, useRef, useMemo } from "react"; import { Modal as RNModal, View, + ScrollView, TouchableOpacity, Text, StyleSheet, @@ -120,7 +121,6 @@ export default function Modal({ }, body: { paddingHorizontal: spacing.xl, - paddingBottom: spacing.xl, }, }), [colors], @@ -176,7 +176,14 @@ export default function Modal({ /> - {children} + + {children} +