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