diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index 98514e155c..33a7abb9b7 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -467,6 +467,7 @@ export const InputNumber = React.memo( newValueStr = deleteRange(inputValue, selectionStart, selectionEnd); updateValue(event, newValueStr, null, 'delete-range'); } + break; // del diff --git a/components/lib/multiselect/MultiSelect.js b/components/lib/multiselect/MultiSelect.js index 5a544535ab..ac1a0b3199 100644 --- a/components/lib/multiselect/MultiSelect.js +++ b/components/lib/multiselect/MultiSelect.js @@ -471,6 +471,7 @@ export const MultiSelect = React.memo( } let focusedItem; + if (event) { focusedItem = event.currentTarget; } else {