From 05b55c1966b12f4849235dc794455bc60c5753c1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 31 May 2024 14:55:51 +0300 Subject: Composer - fix modals, and other tweaks (#4298) * fix depreciated import * add animations to old dropdown * wrap modals in fullwindowoverlay * move errors inside header * add background to bottom bar and stop overlap * nest dialogs on android * fix android (wrap in gesturehandlerrootview) * make borders all the same color * revert threadgate button back to solid --- src/components/Dialog/index.tsx | 85 +++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 41 deletions(-) (limited to 'src/components/Dialog/index.tsx') diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index f32e0e79e..158244c8e 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -32,6 +32,7 @@ import { DialogOuterProps, } from '#/components/Dialog/types' import {createInput} from '#/components/forms/TextField' +import {FullWindowOverlay} from '#/components/FullWindowOverlay' import {Portal} from '#/components/Portal' export {useDialogContext, useDialogControl} from '#/components/Dialog/context' @@ -170,47 +171,49 @@ export function Outer({ return ( isOpen && ( - Keyboard.dismiss()}> - - - - {children} - - - + + Keyboard.dismiss()}> + + + + {children} + + + + ) ) -- cgit 1.4.1