igniteui-angular
igniteui-angular copied to clipboard
IgxTreeGrid - Cell selection wrong behavior when collapsing rows
Description
IgxTreeGrid - Cell selection wrong behavior when collapsing rows
- igniteui-angular version: 6.2.x
- browser: Chrome
Steps to reproduce
- Open and start attached sample application
- Use the mouse and collapse row with ID 2 (the cell selection is correct)
- With the mouse collapse row with ID 1 (see result 1)
- 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