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

[Bug]: zoom-canvas behavior not work when using shortcut "cmd + ArrowUp/ArrowDown" #6816

Open
2 of 10 tasks
ZTao-z opened this issue Feb 28, 2025 · 4 comments
Open
2 of 10 tasks
Labels
need improvement Lack of information or incorrect format

Comments

@ZTao-z
Copy link

ZTao-z commented Feb 28, 2025

Describe the bug / 问题描述

当用户输入“Cmd + ArrowUp/ArrowDown”这个组合快捷键时,zoom-canvas这个behavior会失效。官网demo可复现

Reproduction link / 复现链接

https://g6.antv.vision/examples/behavior/canvas/#zoom

Steps to Reproduce the Bug or Issue / 重现步骤

No response

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
@ZTao-z ZTao-z added the waiting for maintainer Triage or intervention needed from a maintainer. label Feb 28, 2025
Copy link

目前没有发现其他类似的问题报告。您所描述的问题已经被记录在 Issue #6816 中。开发团队会对这个问题进行调查和处理。

如果您有更多信息或补充,请随时在该问题下进行评论。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@ZTao-z ZTao-z changed the title [Bug]: zoom-canvas behavior not work when using shortcut "cmd + arrowup/down" [Bug]: zoom-canvas behavior not work when using shortcut "cmd + ArrowUp/ArrowDown" Feb 28, 2025
@zhongyunWan zhongyunWan added need improvement Lack of information or incorrect format and removed waiting for maintainer Triage or intervention needed from a maintainer. labels Mar 3, 2025
@github-actions github-actions bot added the waiting for author Further information is requested from the author. label Mar 3, 2025
Copy link

github-actions bot commented Mar 3, 2025

📝 To help us better understand and address your issue, please provide more information, or use the standard format, otherwise we will not process this issue.

Reference document:


📝 为了帮助我们更好地理解和解决你的问题,请提供更多信息,或者使用规范的格式,否则我们不会处理这个 issue。

参考文档:

@zhongyunWan
Copy link
Contributor

补充一下你是怎么在 behaviors 中配置快捷键的

@ZTao-z
Copy link
Author

ZTao-z commented Mar 6, 2025

zoom-canvas用的默认鼠标中间滚动,没有配置任何快捷键。用的官网示例代码

@github-actions github-actions bot added waiting for maintainer Triage or intervention needed from a maintainer. and removed waiting for author Further information is requested from the author. labels Mar 6, 2025
@zhongyunWan zhongyunWan removed the waiting for maintainer Triage or intervention needed from a maintainer. label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need improvement Lack of information or incorrect format
Projects
None yet
Development

No branches or pull requests

2 participants