X6 icon indicating copy to clipboard operation
X6 copied to clipboard

2.15.3 及以上版本 mousewheel 事件无法触发

Open nfym opened this issue 1 year ago • 4 comments

Describe the bug

codesandbox 上在线尝试 2.15.2 还可以触发 mousewheel 事件,切换 2.15.3 及以上版本后无法触发

graph.on('cell:mousewheel', (args) => {
  console.log('cell:mousewheel', args)
})

Your Example Website or App

https://codesandbox.io/embed/mystifying-forest-sncrfl?fontsize=14&hidenavigation=1&theme=dark

Steps to Reproduce the Bug or Issue

切换2.15.3及以上版本,添加监听事件

graph.on('cell:mousewheel', (args) => {
  console.log('cell:mousewheel', args)
})

Expected behavior

2.15.3 及以上版本 mousewheel 无法触发

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 2.15.3]

Additional context

No response

nfym avatar Nov 08 '23 06:11 nfym

👋 @nfym

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

x6-bot[bot] avatar Nov 08 '23 06:11 x6-bot[bot]

一个多月了还没动静。2.15.3 版本不可以,我回退了

oyal avatar Dec 11 '23 04:12 oyal

2.15.2 也不行,black:mousewheel 也经常无法触发,不知道是不是因为使用了 Scroller 插件的原因

oyal avatar Dec 11 '23 05:12 oyal

我的是因为开启了这玩意不触发

  mousewheel: {
    enabled: true
  }

zlecheng avatar Jun 28 '24 01:06 zlecheng