angular-ui/ui-grid

Column pinning is malfunctioned when Chrome not zoom to 100%

Open

#3560 aperta il 22 mag 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedtype: bug

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor