fix(HEL-79): Sheet 关闭后不再拦截指针(pointer-events 修复)
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -137,6 +137,7 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
/* 有意用 pan-x pan-y:横滑看其余列,纵向滚动看长列表,二者共存不互斥 */
|
||||||
touch-action: pan-x pan-y;
|
touch-action: pan-x pan-y;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
@@ -392,6 +393,12 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 120;
|
z-index: 120;
|
||||||
|
/* 空根节点常驻 #m-app,关闭后不再拦截指针(否则会挡住顶栏/表格/底栏) */
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-sheet-root.is-open {
|
||||||
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.m-sheet-backdrop {
|
.m-sheet-backdrop {
|
||||||
|
|||||||
Reference in New Issue
Block a user