when updating the position of the current time indicator the code tries to understand what is the current time using the currentTime prop. as it is set when first loading the component the subsequent updating cycles do not update the position of the time indicator correctly.
Here is an example of the current time indicator updating correctly, https://codepen.io/svetoslavb04/pen/oNQJdpa
There is no such property currentTime.
Can you explain further and apply a sample code if possible?
Sorry for the mistake, yes, there is currentTime property.
Here I have created a demo with a current time set to some date. You can update the current time with the button and the current time indicator will also update: https://easyupload.io/0khp2x
Download the project and run npm install to install the dependencies.
After that open index.html and test