Skip to content

[BUG] ctrl+; not working #1264

@xmsz-stu

Description

@xmsz-stu

Describe the bug
Listening for ctrl+; did not take effect. It must be ctrl+Semicolon.

Since this is a user - defined key, it cannot be fixed as Semicolon because the user may input '[].,....

I tried to start using useKey, but in this way, as long as ; is pressed, it will be triggered. I also tried adding ignoreModifiers:false, but it was also ineffective.

May I ask how to solve this problem?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Please try and add a codesandbox or stackblitz to reproduce the bug:
<-- Link to reproducable -->

Here is a codesandbox template that you can use to recreate a minimal example
https://codesandbox.io/p/sandbox/adoring-shape-bzvk53

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions