Skip to content

关于 useScrollLock 的请教 #12116

Answered by chenjiahan
19Qingfeng asked this question in Q&A
Discussion options

You must be logged in to vote

移动端通常有 touchMove 的判断就够了,overflow:hidden 主要还是为了兼容一下 PC 端滚动的场景,以及预防移动端可能存在的边界情况。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chenjiahan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants