You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
etimberg
changed the title
[BUG] Setting responsiveAnimationDuration causes flicker on resize
Setting responsiveAnimationDuration causes flicker on resize
Mar 21, 2018
@simonbrunel based on the flamegraph I have an idea. It looks like the draw call fires first, then the resize happens. both use requestAnimationFrame. Perhaps we need a way to force the resize to happen first, before the draw that way we don't draw for the old animation
Expected Behavior
The animation should execute without a flicker.
Current Behavior
On resize event the canvas will flicker and then the animation will follow.
Steps to Reproduce (for bugs)
https://codepen.io/elisescolaro/pen/YaGyMW
Context
If you have multiple charts on a single page (with lots of other scripts) this becomes extremely noticeable.
Environment
The text was updated successfully, but these errors were encountered: