diff --git a/src/composables/modals.ts b/src/composables/modals.ts index d1f2dc0a6..89e1eeb17 100644 --- a/src/composables/modals.ts +++ b/src/composables/modals.ts @@ -215,8 +215,13 @@ export function useModals() { openModal(MODAL_ENABLE_BIOMETRIC_LOGIN); } + function closeAllModals() { + modalsOpenRaw.value?.forEach(({ key }) => closeModalByKey(key)); + } + return { modalsOpen, + closeAllModals, registerModal, openModal, openDefaultModal, diff --git a/src/popup/App.vue b/src/popup/App.vue index 953dcca3c..ed5cc1818 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -365,7 +365,7 @@ export default defineComponent({ .app-unauthenticated-placeholder { position: absolute; - z-index: 2; + z-index: $z-index-placeholder; inset: 0; visibility: hidden; opacity: 0; diff --git a/src/popup/components/Modals/PasswordLogin.vue b/src/popup/components/Modals/PasswordLogin.vue index 70ed652e8..70d75038f 100644 --- a/src/popup/components/Modals/PasswordLogin.vue +++ b/src/popup/components/Modals/PasswordLogin.vue @@ -143,9 +143,12 @@ export default defineComponent({