diff --git a/src/components/input/Input.tsx b/src/components/input/Input.tsx index 57af8b0012..42bf4e51c0 100644 --- a/src/components/input/Input.tsx +++ b/src/components/input/Input.tsx @@ -54,6 +54,10 @@ class Input extends Component { } render() { + // If the element is not focused, it means the number changed from outside. Update the truncated display. + if (document.activeElement !== this.numberRef.current) { + this.correctNumber(); + } return ( <>