-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Labels
🧨 severity: medium✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.grid: generalversion: 7.3.xvirtualization
Description
Description
When the grid renders a row it causes reflow multiple times which impacts initial rendering performance. The grid queries the igx-horizontal-virtual-helper
element's scrollLeft
twice for each row rendered; which causes reflow.
Additionally, style.left
is set instead of using GPU accelerated translate: transformX(...)
which likely also worsens performance.
- igniteui-angular version: 7.3.4
- browser: Chrome 74
Steps to reproduce
- Create a new Angular app with
igniteui-angular@7.3.4
as a dependency. - Add a basic grid
- Use Chrome to performance profile the initial grid render.
- Notice the purple blocks on Chrome Dev Tools Performance Tabs's flame chart.
Result
Expected result
No reflow per row rendered. The horizontal scroll position should be cached.
variable-content, mshehadeh, Lightw3ight, alfonsobravi and Eralmidia
Metadata
Metadata
Labels
🧨 severity: medium✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.grid: generalversion: 7.3.xvirtualization