-
-
Notifications
You must be signed in to change notification settings - Fork 202
DevIndex: Fix 'Show Animations' checkbox binding for Grid Sparklines #9279
Copy link
Copy link
Closed
Labels
aibugSomething isn't workingSomething isn't workinggridRelated to the Neo.grid packageRelated to the Neo.grid package
Description
The Show Animations checkbox in the DevIndex app was failing to disable the pulse animations in the Grid sparklines.
Root Cause:
The bind: { animateVisuals: ... } config defined in GridContainer's static config was being completely overridden by the bind: { store: ... } config passed when instantiating the grid inside MainContainer.mjs. Because Neo.mjs instance configs shadow static prototype configs, the animateVisuals binding was erased upon instantiation, preventing the grid from receiving state updates from the ViewportStateProvider.
Resolution:
- Moved the
animateVisualsbinding directly into thebodyconfig ofGridContainer. - Removed the now-redundant
animateVisuals_config andafterSetAnimateVisualshook fromGridContainer.mjs. - Cleaned up unused variables (
regexPrefixCy,positions).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aibugSomething isn't workingSomething isn't workinggridRelated to the Neo.grid packageRelated to the Neo.grid package