mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Fixed overlay windows rendering below other UI
This commit is contained in:
1 parent
2810f24563
commit
be80e572e5
16 files changed
+104
-65
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { createPortal } from 'react-dom'
|
||||
import { useState } from 'react'
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import { api, type ExportSet } from '../api'
|
||||
@@ -58,7 +59,7 @@ export function ExportDialog({ editing, onClose, onSaved, onError }: Props) {
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
return createPortal(
|
||||
<>
|
||||
{browsing && (
|
||||
<FolderPicker
|
||||
@@ -165,6 +166,7 @@ export function ExportDialog({ editing, onClose, onSaved, onError }: Props) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
</>,
|
||||
document.body,
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user