From 61e0fdea5061fbb863dad99aba38d81a82594852 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 18 Mar 2024 12:05:18 +0500 Subject: [PATCH] ui: fix weird zIndex animation on popups --- packages/ui/src/components/popup-presenter/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/popup-presenter/index.tsx b/packages/ui/src/components/popup-presenter/index.tsx index 9c2875dd3..e35bd375c 100644 --- a/packages/ui/src/components/popup-presenter/index.tsx +++ b/packages/ui/src/components/popup-presenter/index.tsx @@ -206,6 +206,7 @@ function _PopupPresenter(props: PropsWithChildren) { padding: 0, zIndex: 999, outline: 0, + opacity: `1 !important`, isolation: "isolate" }} > @@ -216,7 +217,8 @@ function _PopupPresenter(props: PropsWithChildren) { content: {}, overlay: { zIndex: 999, - background: "transparent" + background: "transparent", + opacity: 1 } }} >