diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index d16b48fb8e..b8ccd33e03 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -938,7 +938,7 @@ export const InputNumber = React.memo(React.forwardRef((props, ref) => { props, getFormatter, getElement: () => elementRef.current, - getInput: () => elementRef.current + getInput: () => inputRef.current })); React.useEffect(() => {