igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

IgxTreeGrid - Cell selection wrong behavior when collapsing rows

Open rmkrmk opened this issue 8 years ago • 0 comments

Description

IgxTreeGrid - Cell selection wrong behavior when collapsing rows

  • igniteui-angular version: 6.2.x
  • browser: Chrome

Steps to reproduce

  1. Open and start attached sample application
  2. Use the mouse and collapse row with ID 2 (the cell selection is correct)
  3. With the mouse collapse row with ID 1 (see result 1)
  4. With the mouse collapse row with ID 10 (see result 2)

Note: the same result is reproducible when using the keyboard for collapsing rows.

Result

Result 1 - the row with ID 1 is collapsed but the cell selection looks lost. In fact it is not lost with it is on the row with ID 6 (press right arrow and you will see were is was). Or focus another window and focus back the browser and the selection will appear on row 6. Result 2 - the row with ID 10 is collapsed but cell selection is moved to row 1

Expected result

Result 1 - After collapsing row with ID 1 cell selection should stay and be visible on row 1, column ID Result 2 - Cell selection should remain on row 10, column ID

Attachments

treeGrid.zip

rmkrmk avatar Nov 06 '18 08:11 rmkrmk