We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我最近刚开始用G2, 不确定这个是feature还是bug 当鼠标放在饼图的时候滑动滚轮, 此时无法滚动页面。我尝试搜了issues和docs 似乎并没有发现相关的配置。
可以尝试这个demo https://g2.antv.vision/en/examples/pie/basic 当tooltip显示的时候尝试滑动鼠标
线图也会这样 如果把鼠标放到mark上时 无法滚动页面
The text was updated successfully, but these errors were encountered:
因为有些交互是滚动鼠标滑轮,缩放图表,还有自定义的滚动条组件。所以在图表上触发 scroll 事件时,preventDefault 了,阻止了滚轮默认的行为。还有右键菜单也阻止了是同样的情况。 这个表现我再想想是否不默认阻止,而让用户自己去阻止默认的行为。
Sorry, something went wrong.
同问,现在的话可以通过哪个配置调节这个行为?
已经提交了 MR,合并了,下周新版本发布。
Successfully merging a pull request may close this issue.
我最近刚开始用G2, 不确定这个是feature还是bug 当鼠标放在饼图的时候滑动滚轮, 此时无法滚动页面。我尝试搜了issues和docs 似乎并没有发现相关的配置。
可以尝试这个demo https://g2.antv.vision/en/examples/pie/basic 当tooltip显示的时候尝试滑动鼠标
线图也会这样 如果把鼠标放到mark上时 无法滚动页面
The text was updated successfully, but these errors were encountered: