Dialogs side quest

This commit is contained in:
Eric Bailey
2024-02-07 22:11:59 -06:00
parent f4ce9e22e8
commit 5bd64fbc85
10 changed files with 153 additions and 38 deletions
+5 -1
View File
@@ -16,6 +16,7 @@ import {useIsDrawerOpen, useSetDrawerOpen} from '#/state/shell'
import {useCloseAllActiveElements} from '#/state/util'
import {useWebBodyScrollLock} from '#/lib/hooks/useWebBodyScrollLock'
import {Outlet as PortalOutlet} from '#/components/Portal'
import {ReportDialog} from '#/components/dialogs/ReportDialog'
function ShellInner() {
const isDrawerOpen = useIsDrawerOpen()
@@ -40,8 +41,11 @@ function ShellInner() {
</ErrorBoundary>
<Composer winHeight={0} />
<ModalsContainer />
<PortalOutlet />
<Lightbox />
<ReportDialog />
<PortalOutlet />
{!isDesktop && isDrawerOpen && (
<TouchableOpacity
onPress={() => setDrawerOpen(false)}