angular-ui/ui-grid

Small rowEditWaitInterval causes unwanted save with rowedit

Open

#5,224 opened on 2016年3月14日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wantedneeds: analysis

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

It is important to set rowEditWaitInterval to 1 (the lowest available value).

Steps to reporoduce:

  1. Open plunker: http://plnkr.co/edit/ci2rADfto0N4xwdEggAQ?p=preview
  2. Try to edit any cell and navigate to cell on the right or left (don't leave the row). -- If you use arrow keys to navigate everything works fine - save does not occur. -- But if you use mouse (click to another editable cell in the given row) - save should not occur until you leave row, But it does.

It seems that interval is too low to determine that another cell in the row is being edited and grid assumes row was left and attempts to save.

Happens on IE 11 and Edge 13.

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