我正在使用完美滚动条在 x 轴上滚动大表。When the option useBothWheelAxes
is set to true I can use the mouse wheel to scroll the table horizontally. 当我到达表格的末尾时,我想继续向下滚动页面。查看文档,我希望我可以使用wheelPropagation
它:
如果此选项为真,当滚动到达边的末尾时,鼠标滚轮事件将被传播到父元素。
垂直这确实有效。但是,这在水平滚动时似乎不起作用。
可以在此处找到识别问题的演示:https ://codepen.io/anon/pen/YaXBoV