netzwerg / react-svg-timeline

React event timeline component based on SVG
Other
93 stars 26 forks source link

Rendering glitch when zooming from year to month on timeline #103

Closed Rockwell95 closed 1 year ago

Rockwell95 commented 1 year ago

There appears to be an issue with date markers not appearing immediately when zooming in from the year-level view on the timeline to the month-level view. However upon dragging the timeline after being zoomed in, the markers re-appear again.

This issue was first discovered on my organization's own implementation of the timeline in our own React-based web app, but we have been able to reproduce it on the react-svg-timeline demo page as well (see the attached GIF). Is there a potential workaround for this behaviour we can implement on our side in the meantime?

Peek 2022-11-09 14-32

protyze commented 1 year ago

Good catch. Once @netzwerg has reviewed the PR we'll merge it and publish a version with the fix.

Rockwell95 commented 1 year ago

Thank you for the quick turnaround! We'll keep an eye out for the fix!