-
-
Notifications
You must be signed in to change notification settings - Fork 202
Perf: Apply CSS containment to Grid Rows #8962
Copy link
Copy link
Closed
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
Since Neo.grid.Body manages row positions via absolute positioning (transform), the rows are independent of each other for layout purposes.
Task:
Add contain: strict (or contain: layout paint) to the .neo-grid-row CSS class.
Benefits:
This informs the browser that DOM updates within a row (e.g., text changes, canvas updates) do not affect the layout of the parent or siblings. This significantly reduces the cost of layout recalculations during heavy scrolling or real-time data updates.
Files:
resources/scss/src/grid/Body.scss
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations