We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841cdcb commit 92974bfCopy full SHA for 92974bf
src/DayColumn.js
@@ -99,6 +99,7 @@ class DayColumn extends React.Component {
99
100
if (current >= min && current <= max) {
101
const top = this.slotMetrics.getCurrentTimePosition(current)
102
+ this.intervalTriggered = true
103
this.setState({ timeIndicatorPosition: top })
104
} else {
105
this.clearTimeIndicatorInterval()
@@ -163,7 +164,7 @@ class DayColumn extends React.Component {
163
164
<span>{localizer.format(selectDates, 'selectRangeFormat')}</span>
165
</div>
166
)}
- {isNow && (
167
+ {isNow && this.intervalTriggered && (
168
<div
169
className="rbc-current-time-indicator"
170
style={{ top: `${this.state.timeIndicatorPosition}%` }}
0 commit comments