文档声明鼠标滚轮事件向上传递容器层次结构,但错误导致这件事无法发生,所以您需要为按钮增加一个侦听器。
Documentation states that mouse wheel events propagate up the container hierarchy, but the bug prevents this from happening so you'll need to attach the listener to the button.
Hold举个例子,按住Cm d键再向上滑动鼠标滚轮可以向右侧浏览文档。
For example, hold down Cmd + scroll up will navigate to right.
当使用者按一下滑鼠滚轮时,便在内容中向上卷动。
Scrolls right within content after a user clicks the wheel button on a mouse.
应用推荐