-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Feature] 希望初始化的时候,可以手动选择锁定的滚动方向 #1325
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
我使用插件遇到了一个问题,初始化的时候,因为插件需要通过directionLockThreshold自动计算锁定的滚动方向,导致初始化的时候,横向滚动的元素,必须要先滚动完成一次,才能锁定滚动条,如果我手动将滚动条的高度归0,则会使元素出现弹跳的现象,所以希望可以增加该新功能
What does the proposed API look like?
配置项新增directionLocked选项,并可以在初始化的时候就根据用户传入的属性,锁定滚动条
The text was updated successfully, but these errors were encountered: