-
-
Notifications
You must be signed in to change notification settings - Fork 202
Optimize Component Columns with contain: strict #9184
Copy link
Copy link
Closed
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
To optimize grid scrolling performance, we can upgrade CSS containment for component-based columns from contain: layout paint style to contain: strict.
This allows the browser to completely skip layout and style recalculations for these components during scroll, treating them as rigid boxes.
Targets:
- GitHubOrgs: Add
width: 100%and upgrade tostrict. - Heuristics (Impact): Add
width: 100%and upgrade tostrict. - CountryFlag: Add
height: 100%and upgrade tostrict.
Note: Sparkline (Activity) already uses contain: strict. IconLink will remain as-is to preserve flexibility in non-grid contexts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aienhancementNew feature or requestNew feature or requestperformancePerformance improvements and optimizationsPerformance improvements and optimizations