diff --git a/src/components/SettingsBar.tsx b/src/components/SettingsBar.tsx index 6d37700..ea1d147 100644 --- a/src/components/SettingsBar.tsx +++ b/src/components/SettingsBar.tsx @@ -144,7 +144,8 @@ export default class SettingsBar extends React.PureComponent { onShortCutInputKeyDown = (e: React.KeyboardEvent) => { e.preventDefault() - const shortcut = keyHelper.parseEvent(e) + // Clear shortcut with backspace + const shortcut = e.key === 'Backspace' ? '' : keyHelper.parseEvent(e) this.setState({ toggleShowSideBarShortcut: shortcut }) }