mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
在滚动锁定功能中添加事件传播停止,以增强用户体验
This commit is contained in:
@@ -238,6 +238,7 @@ export function useScrollLock(options: ScrollLockOptions = {}) {
|
|||||||
|
|
||||||
// 否则阻止滚动
|
// 否则阻止滚动
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
event.stopPropagation()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user