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

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

Open
nfym opened this issue Nov 8, 2023 · 4 comments
Open

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

nfym opened this issue Nov 8, 2023 · 4 comments

Comments

@nfym
Copy link

nfym commented Nov 8, 2023

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

@x6-bot
Copy link
Contributor

x6-bot bot commented Nov 8, 2023

👋 @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.

@oyal
Copy link

oyal commented Dec 11, 2023

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

@oyal
Copy link

oyal commented Dec 11, 2023

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

@zlecheng
Copy link

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

  mousewheel: {
    enabled: true
  }

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

3 participants