Reported from the sidebar's own per-document delete: the confirm modal appeared behind the main content and couldn't be clicked. Root cause: .app-sidebar (position:sticky) and .txn-col (container-type:inline-size, which implies layout containment) each always create their own CSS stacking context, with or without an explicit z-index. ConfirmModal/DocumentOptionsModal/DownloadChoiceModal are rendered as DOM descendants of one or the other depending on which call site opens them, so their own z-index:50 was trapped inside that ancestor's local stacking order - no z-index value could escape it, since z-index only ever competes against siblings within the same stacking context. Fixed with <Teleport to="body"> on all three modals - the standard fix for this bug, not a bigger z-index (which cannot escape a trapped stacking context regardless of the number). Each modal now always renders as a direct child of <body>, a sibling of #app rather than a descendant of whichever component opened it, so this can't recur regardless of which future component ends up opening one. Verified: npm run build passes, the bundle references Teleport, the app container rebuilt. measure.py unaffected. Not machine-verified - Claude-in-Chrome did not connect this session. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
README.md
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.