Skip to content

macos key binding is windows style, not the macos (CMD+[key]) #772

@vjlanguage

Description

@vjlanguage

Describe the bug
use the component in my project, my project use the v.4.7.0 version package,macos keybinding should be started with CMD, not ctrl, i defined a custom action , but the action key still started with ctrl...

To Reproduce

Steps to reproduce the behavior:

  1. Go to page
  2. right click mouse
  3. see the context menus

the code block is same as the repo example code
Expected behavior
macos should show the cmd+ [key]
Screenshots

Image

Desktop (please complete the following information):

  • building tool: vite
  • framework: react ^18.3.1
  • os: macos
  • browser: chrome stable latest version

Additional context
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
"platform": "MacIntel"
}

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