Merge pull request #1596 from AmruthPillai/1572-bug-popover-is-showing-behind-modal

fix: modify z-index for dialogs to fix popover being hidden
This commit is contained in:
Amruth Pillai
2023-11-26 15:16:55 +01:00
committed by GitHub
@@ -108,7 +108,7 @@ export const SectionDialog = <T extends SectionItem>({
if (isDelete) {
return (
<AlertDialog open={isOpen} onOpenChange={close}>
<AlertDialogContent className="z-[70]">
<AlertDialogContent className="z-50">
<Form {...form}>
<form>
<AlertDialogHeader>
@@ -133,7 +133,7 @@ export const SectionDialog = <T extends SectionItem>({
return (
<Dialog open={isOpen} onOpenChange={close}>
<DialogContent className="z-[70]">
<DialogContent className="z-50">
<Form {...form}>
<form className="space-y-6" onSubmit={form.handleSubmit(onSubmit)}>
<DialogHeader>