[X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
What package is this bug report for?
rrweb
Version
^2.0.0-alpha.11
Expected Behavior
Seeing the progress bar getting compacted (specifically inactive time) as duration grows, as well as custom events in the right timing.
Actual Behavior
calling addEvent updates the duration, but not redraws the progress bar. The progress bar drawing remains like the original, specifically inactive time doesn't "compress" as it should and custom events are not showing on the right place in the bar.
Steps to Reproduce
Init a player using new rrwebPlayer(...) (with or without liveMode, didn't see the difference)
add events asynchronously after some time.
See the progress bar hasn't updated, but duration did.
do a full reload and see the progress bar is updated.
Preflight Checklist
What package is this bug report for?
rrweb
Version
^2.0.0-alpha.11
Expected Behavior
Seeing the progress bar getting compacted (specifically inactive time) as duration grows, as well as custom events in the right timing.
Actual Behavior
calling addEvent updates the duration, but not redraws the progress bar. The progress bar drawing remains like the original, specifically inactive time doesn't "compress" as it should and custom events are not showing on the right place in the bar.
Steps to Reproduce
new rrwebPlayer(...)
(with or without liveMode, didn't see the difference)Testcase Gist URL
No response
Additional Information
No response