angular-ui/ui-grid

Column pinning is malfunctioned when Chrome not zoom to 100%

Open

#3,560 opened on May 22, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wantedtype: bug

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide