From 97ea841d52a2d0126bb90c09f421355fe63e57c7 Mon Sep 17 00:00:00 2001 From: Sonny Piers Date: Mon, 13 May 2019 14:48:06 +0200 Subject: [PATCH] fix: update time indicator position if min prop changes (#1311) --- src/DayColumn.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/DayColumn.js b/src/DayColumn.js index c0ea5ec5d..6a03b0c0c 100644 --- a/src/DayColumn.js +++ b/src/DayColumn.js @@ -61,6 +61,11 @@ class DayColumn extends React.Component { this.setTimeIndicatorPositionUpdateInterval(tail) } + } else if ( + this.props.isNow && + !dates.eq(prevProps.min, this.props.min, 'minutes') + ) { + this.positionTimeIndicator() } }