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

能否支持自定义快捷键 🙏 #2535

Open
3 of 5 tasks
moayuisuda opened this issue Jan 30, 2024 · 1 comment
Open
3 of 5 tasks

能否支持自定义快捷键 🙏 #2535

moayuisuda opened this issue Jan 30, 2024 · 1 comment
Labels
⚡ enhancement 功能增强 🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复

Comments

@moayuisuda
Copy link

🏷 Version

Package Version
@antv/s2 1.54.1
@antv/s2-react 1.46.0
@antv/s2-vue -

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

当前S2的默认多选快捷键为Command/Ctrl+点击,但是在我们的平台中,多选行为一律都是Shift+点击,为了实现交互行为统一,让S2也是Shift多选,能否支持自定义快捷键,形如

const config = {
  hotKeys: {
    multiSelection: 'Shift'
  },
};

🏞 What problem does this feature solve

更灵活的自定义快捷键,增强业务接入后的交互一致性

🧐 Suggest the API

name type default description
- - - -
@moayuisuda moayuisuda added the 🙏feature request 新需求支持 label Jan 30, 2024
@lijinke666 lijinke666 added the ⚡ enhancement 功能增强 label Feb 5, 2024
Copy link
Contributor

github-actions bot commented Feb 5, 2024

你好 @moayuisuda,感谢你的建议, 我们会及时评估和排期, 谢谢!
当然, 如果能贡献 PR 帮助我们改进, 不胜感激!

Hello, @moayuisuda, thanks for your advice. We will evaluate and schedule in time. Thank you!
you could implement it by yourself through the customization capabilities provided by S2. Thanks so much for your understanding.

@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ enhancement 功能增强 🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复
Projects
None yet
Development

No branches or pull requests

2 participants