angular-ui/ui-grid

perf(refreshCanvas): Running too often?

Open

#2,139 创建于 2014年11月18日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (5,395 star) (2,496 fork)batch import
help wantedseverity: performance

描述

In pulling some simple CPU profiles it seems like a disproportionate amount of time is spent recalculating header heights when they haven't changed... There should be a way to skip this while scrolling as it's unneeded.

However we can't simply do the calculation once and be done because toggling grid options could theoretically alter header height.

贡献者指南