angular-ui/ui-grid

Incorrect highlighting of first cell when use combination TAB and arrows

Open

#6,399 创建于 2017年9月19日

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

仓库指标

Star
 (5,395 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

When we navigate using both TAB and arrows between cells, focus is shown in the incorrect cell (instead of expected row it's shown in the next row). However, if press ENTER/SPACE, expected check-box will be selected, not that one which was focused. NVDA screen-reader also provides correct information, e.g. we expect to see focus in on row 22, but we see it on the row 23, NVDA says that it's row 22. Possibly, the issue is caused by virtual repeater work, I've debugged this. Focus is set on the correct element, but then it's content changes.

STEPS TO REPRODUCE:

  1. Press TAB and arrows to move focus to the last visible cell.
  2. Press left and right several times but focus must stay in this row and finally appear at last cell.
  3. Press TAB to go to the next row. Expected result: Focus is on first cell of next row. Actual result: Focus is on next + 1 row.

贡献者指南