progress icon indicating copy to clipboard operation
progress copied to clipboard

circle flickers

Open iefraim opened this issue 2 years ago • 0 comments

when my countdown gets low, the circle flickers but only then. when there is more time, it works fine any idea why? my code: const CountdownDisplay = (props) => { if (props.completed) { return <h6>This event has ended</h6>; } return ( <div className="countdownCircle"> <Circle percent={props.total} strokeWidth={4} trailWidth={4} /> <p className="countdownCircle__innerText"> {props.hours + props.days * 24}:{props.minutes < 10 && "0"} {props.minutes}:{props.seconds < 10 && "0"} {props.seconds} </p> </div> ); };

it's called by a countdowntimer

iefraim avatar Jul 09 '23 17:07 iefraim