在滚动锁定功能中添加事件传播停止,以增强用户体验

This commit is contained in:
jxxghp
2025-07-19 17:45:43 +08:00
parent 787802d0db
commit 6cb8bf74df

View File

@@ -238,6 +238,7 @@ export function useScrollLock(options: ScrollLockOptions = {}) {
// 否则阻止滚动
event.preventDefault()
event.stopPropagation()
}
}