diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index de545499e9..deed9c41a0 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -341,8 +341,9 @@ export const InputNumber = React.memo(React.forwardRef((props, ref) => { } break; - //enter + //enter and tab case 13: + case 9: newValueStr = validateValue(parseValue(inputValue)); inputRef.current.value = formatValue(newValueStr); inputRef.current.setAttribute('aria-valuenow', newValueStr);