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

trigger 配置 ctrl 快捷键参数无法生效 | 'ctrl' as trigger option is not valid. #5937

Closed
Noctsyndrome opened this issue Jun 26, 2024 · 0 comments
Labels

Comments

@Noctsyndrome
Copy link

Describe the bug / 问题描述

behavior 的 trigger 配置中 'ctrl' 无法生效

Reproduction link / 重现链接

https://g6-next.antv.antgroup.com/examples/behavior/select#brush

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

官方 brush-select demo,GUI 选择 ctrl 参数后,框选行为无法正常触发。所有 behavior trigger 配置均有此问题。

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

Windows

Browser / 浏览器

Chrome

Additional context / 补充说明

image

参考项目源码,快捷键对比注册均获取 event.key 值,ctrl 按键对应 key 值为 ’Control‘。实测 'control' 配置正常生效,需要更新文档及 demo 参数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants