fix(ui): apps open ABOVE the modal that launched them

AppLauncherOverlay sat at z-2400 under BaseModal's z-3000, so an app
opened from e.g. the Transactions modal loaded invisibly underneath it.
z-4000 lets the existing enter animation play over the modal; closing
the app returns to the modal you came from.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
archipelago 2026-07-22 17:30:47 -04:00
parent c0aef2f03e
commit b3796546aa

View File

@ -1,9 +1,14 @@
<template>
<Teleport to="body">
<Transition name="app-launcher">
<!-- z-[4000]: apps must open ABOVE any modal that launched them
(BaseModal defaults to z-3000). At the old z-2400 an app opened
from e.g. the Transactions modal loaded invisibly underneath it;
now the existing enter animation plays over the modal, and closing
the app returns you to the modal you came from. -->
<div
v-if="store.isOpen"
class="fixed inset-0 z-[2400] flex items-stretch justify-stretch p-0"
class="fixed inset-0 z-[4000] flex items-stretch justify-stretch p-0"
@click.self="store.close()"
>
<!-- Backdrop - blur like spotlight -->