Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: fix weird zIndex animation on popups

Abdullah Atta61e0fdea5061
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<PopupPresenterProps>) {
padding: 0,
zIndex: 999,
outline: 0,
+ opacity: `1 !important`,
isolation: "isolate"
}}
>
@@ -216,7 +217,8 @@ function _PopupPresenter(props: PropsWithChildren<PopupPresenterProps>) {
content: {},
overlay: {
zIndex: 999,
- background: "transparent"
+ background: "transparent",
+ opacity: 1
}
}}
>