Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Keep snackbars clickable over draggable regions https://github.com/siyuan-note/siyuan/issues/18511

Daniel26d87749fd7d
diff --git a/app/src/assets/scss/component/_snackbar.scss b/app/src/assets/scss/component/_snackbar.scss
index ffc38d3ce3..46e2ab46dd 100644
--- a/app/src/assets/scss/component/_snackbar.scss
+++ b/app/src/assets/scss/component/_snackbar.scss
@@ -5,6 +5,7 @@
justify-self: end;
font-size: var(--b3-font-size);
pointer-events: auto;
+ app-region: no-drag;
&:not(:first-child) {
margin-top: 16px;
diff --git a/app/stage/auth.html b/app/stage/auth.html
index 459cefdf1b..15e702e5a4 100644
--- a/app/stage/auth.html
+++ b/app/stage/auth.html
@@ -105,6 +105,7 @@
position: fixed;
top: 0;
z-index: 502;
+ app-region: no-drag;
transform: translate3d(0, -100px, 0);
opacity: 0;
transition: opacity 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms, transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;