-
-
Notifications
You must be signed in to change notification settings - Fork 202
DevIndex: Introduce StateProvider for animateVisuals #9179
Copy link
Copy link
Closed
Labels
Description
To fix a regression where animateVisuals state is lost or listeners are not attached due to lazy loading of the Grid, we will introduce a Neo.state.Provider.
- Create
apps/devindex/view/ViewportStateProvider.mjswithanimateVisuals: true. - Add the provider to
DevIndex.view.Viewport. - Bind
GridContainer'sanimateVisualsconfig to the state provider:bind: {animateVisuals: data => data.animateVisuals}. - Update
MainContainerController(checkbox) to write to the state provider instead of the grid directly. - Update
ViewportControllerto listen to the state provider changes to update theHeaderCanvaspulse effect, removing the direct dependency on the Grid component.
Reactions are currently unavailable