angular-ui/ui-grid

Scrolling editable rows with down arrow triggers change event with wrong cell values

Open

#6,298 建立於 2017年7月6日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
good first issue

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

The example below is originally from the tutorials. Browser is Chrome.

  1. plunkr
  2. select any name
  3. Edit mode is on
  4. now press and hold the down arrow until the grid starts scrolling.
  5. you will now see the details of the last cell changed in the 'last cell edited' field. Although i have not changed anything.

The change should trigger only when the old/new values of the cell has changed. I am simply skipping the 'afterCellEdit' event when the new/old values are the same.

貢獻者指南