diff --git a/web/ui/react-app/src/pages/graph/GraphControls.tsx b/web/ui/react-app/src/pages/graph/GraphControls.tsx index 281597d7f..19c48ce1f 100644 --- a/web/ui/react-app/src/pages/graph/GraphControls.tsx +++ b/web/ui/react-app/src/pages/graph/GraphControls.tsx @@ -101,6 +101,9 @@ class GraphControls extends Component { defaultValue={formatDuration(this.props.range)} innerRef={this.rangeRef} onBlur={() => this.onChangeRangeInput(this.rangeRef.current!.value)} + onKeyDown={(e: React.KeyboardEvent) => + e.key === 'Enter' && this.onChangeRangeInput(this.rangeRef.current!.value) + } />