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
Thank you for the detailed bug report with comprehensive reproduction steps and measurements.
The issue appears to be in the animation state management system where interpolated values from the hover animation are committed when updateState() is called during hover, and are never reconciled against the mark's declared idle style.
I verified:
The bug only occurs with instance-level animation: true and animationState.point configured
The leak rate scales with the state animation's duration
Points that are invisible at rest (size: 0) stay permanently visible after mouse leaves
I attempted to trace the issue through updateStateOfGraphics and updateStates in interaction.ts, but the fix appears to require deeper changes to how animation states are managed when multiple states are active simultaneously.
Would you be able to provide guidance on the expected approach:
Should the hover animation be interrupted/cancelled when updateState() is called?
Or should the animation system track and revert interpolated values when the declared idle style differs from the current animated value?
Or is there a simpler approach by ensuring updateState() clears the hover state first before applying the new state?
This would help determine the minimal fix that addresses the root cause without introducing side effects.
Correction: my earlier comment here described the separate hover/state-animation report in #4639 and does not diagnose the chart-layout behavior reported in this issue. Please disregard that diagnosis. I have not independently reproduced or identified the root cause of this issue; the original playground and resize-then-click-legend steps remain the report to investigate.
Activity
Issues-translate-bot commentedon Jul 29, 2026
Title: [Bug] The layout will be messed up after filtering out all data items in the graph.
dajiaohuang commentedon Aug 24, 2026
Thank you for the detailed bug report with comprehensive reproduction steps and measurements.
The issue appears to be in the animation state management system where interpolated values from the hover animation are committed when
updateState()is called during hover, and are never reconciled against the mark's declared idle style.I verified:
animation: trueandanimationState.pointconfiguredsize: 0) stay permanently visible after mouse leavesI attempted to trace the issue through
updateStateOfGraphicsandupdateStatesininteraction.ts, but the fix appears to require deeper changes to how animation states are managed when multiple states are active simultaneously.Would you be able to provide guidance on the expected approach:
updateState()is called?updateState()clears the hover state first before applying the new state?This would help determine the minimal fix that addresses the root cause without introducing side effects.
dajiaohuang commentedon Oct 22, 2026
Correction: my earlier comment here described the separate hover/state-animation report in #4639 and does not diagnose the chart-layout behavior reported in this issue. Please disregard that diagnosis. I have not independently reproduced or identified the root cause of this issue; the original playground and resize-then-click-legend steps remain the report to investigate.