palantir/blueprint
Hotkey should show "option" text on macOS instead of "alt"
オープン
#4,959 opened on 2021/10/07
P2Package: coreType: bughelp wanted
Repository metrics
- Stars
- (20,263 個のスター)
- PR merge metrics
- (平均マージ 43d 10h) (30d で 27 merged PRs)
説明
Environment
- Package version(s): blueprintjs core v3.51.0
- Browser and OS versions: All browsers; macOS
Feature request
The text for Hotkey when combo has the word "option" should display "option" as the associated text on macOS instead of "alt". This is similar to how "mod" is "cmd" or "ctrl" depending on the operating system.
Examples
<Hotkey
global
combo="option"
label="Test"
preventDefault
onKeyDown={() => console.log('test')}
/>
Currently, it automatically renames "option" to "alt" when passed into combo:
Should be: