Skip to content
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

mousewheel能不能增加一个判断x轴滚动 y轴滚动的逻辑 #1327

Open
mengsanqian opened this issue Feb 23, 2023 · 0 comments
Open

Comments

@mengsanqian
Copy link

求开发大大 能不能 满足各小小的要求
mousewheel能不能增加一个判断x轴滚动 y轴滚动的逻辑
因为现在的mouselwheel 是x轴 y轴都滚动都会触发效果的
比如一个pc页面有多个横向的滚动条 此时横向的逻辑上只能x轴移动时触发 鼠标滚轮只能y轴 所以不想触发 也不要影响页面的滚动事件
也就是只有笔记本电脑的左右移动触摸板可以触发 就是想满足下这个
现在虽然也可以 但是用触摸板上下移动的话也会 而且会影响整个页面的滚动事件 总结就是满足pc触摸板移动的情况
还有提个小需求能不能设置一个检测内容的属性 使之能够监听内容的滚动 确保内容块可以完整显示到可视区域内
而不会出现半个半个的情况
希望开发大大可以看到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant