angular-ui/ui-grid

Column pinning is malfunctioned when Chrome not zoom to 100%

Open

#3,560 创建于 2015年5月22日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (2,496 fork)batch import
help wantedtype: bug

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I tested the official example of column pinning in http://angular-ui.github.io/ng-grid/ on Chrome browser. It could only work properly on zoom view 100%. Once changed to 90% or 110% then pinning got malfunctioned.

During testing, I found calculation of pinned column's new left while scrolling will occur floating point under Chrome. But domUtilityService.setColLeft only search integer value to make replacement.

Test Environment: OS: Win7 64bit, Browser: Chrome 43.0.2357.65 m

贡献者指南