Fix keyboard cmds table soft focus (#2608)
- fix keyboard cmds table soft focus
This commit is contained in:
@ -61,10 +61,6 @@ export const TableCellSoftFocusMode = ({
|
||||
'*',
|
||||
(keyboardEvent) => {
|
||||
if (!isFieldInputOnly) {
|
||||
keyboardEvent.preventDefault();
|
||||
keyboardEvent.stopPropagation();
|
||||
keyboardEvent.stopImmediatePropagation();
|
||||
|
||||
const isWritingText =
|
||||
!isNonTextWritingKey(keyboardEvent.key) &&
|
||||
!keyboardEvent.ctrlKey &&
|
||||
@ -74,6 +70,10 @@ export const TableCellSoftFocusMode = ({
|
||||
return;
|
||||
}
|
||||
|
||||
keyboardEvent.preventDefault();
|
||||
keyboardEvent.stopPropagation();
|
||||
keyboardEvent.stopImmediatePropagation();
|
||||
|
||||
openTableCell({
|
||||
initialValue: {
|
||||
value: keyboardEvent.key,
|
||||
|
||||
Reference in New Issue
Block a user