angular-ui/ui-grid

Excel-like Editing bug in IE

クローズ

#3,811 opened on 2015/06/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,496 件のフォーク)batch import
Browser IEhelp wantedtype: bug

Repository metrics

Stars
 (5,395 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Hi, I am implement this feature and notice that there is an issue with tab key navigation when using IE (version 10).

I clicked on a cell, keyed a character, cell displayed new value but when I hit the tab key, the cell reverted back to old value. it only happened when I keyed in a single character. if i keyed in more than 1 then it worked fine. the problem only exists in IE, not in Firefox or Chrome. below is my gridOptions setting:

.grid( ui-grid="{
  data: grid.data, 
  columnDefs : columns, 
  showFooter: false, 
  enableVerticalScrollbar:0,
  enableHorizontalScrollbar: 2, 
  enableCellSelection: true, 
  enableRowSelection: false, 
  enableCellEdit: true}", 
  ng-style="getTableHeight(grid,'grid_'+$index)",ui-grid-edit,ui-grid-cellNav,ui-grid-pinning) 

コントリビューターガイド