fix: non-letter shortcuts being swallowed by color picker (#5316)
This commit is contained in:
@ -1694,7 +1694,9 @@ class App extends React.Component<AppProps, AppState> {
|
||||
}
|
||||
|
||||
if (
|
||||
(isWritableElement(event.target) && event.key !== KEYS.ESCAPE) ||
|
||||
(isWritableElement(event.target) &&
|
||||
!event[KEYS.CTRL_OR_CMD] &&
|
||||
event.key !== KEYS.ESCAPE) ||
|
||||
// case: using arrows to move between buttons
|
||||
(isArrowKey(event.key) && isInputLike(event.target))
|
||||
) {
|
||||
|
Reference in New Issue
Block a user