angular-ui/ui-grid

Small rowEditWaitInterval causes unwanted save with rowedit

Open

#5 224 ouverte le 14 mars 2016

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
help wantedneeds: analysis

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur