angular-ui/ui-grid

Small rowEditWaitInterval causes unwanted save with rowedit

Open

#5,224 创建于 2016年3月14日

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

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南