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

The focus gets lost when moving with the Down arrow key from the last cell of last row in parent grid into the child grid

Open VMihalkov opened this issue 7 years ago • 0 comments

Description

When the last cell of last row is selected and igxHierarchicalGrid has been expanded and the Down Arrow key gets pressed, the focus gets lost. Note: This only happens if child grid has a horizontal scrollbar.

  • igniteui-angular version: 7.2.x
  • browser: N/A

Steps to reproduce

To reproduce add the following to the row island in the template of hierarchicalGrid sample: <igx-row-island [width]="'700px'" [columnWidth]='"400px"' [key]="'childData'" [autoGenerate]="false" [allowFiltering]='false' [rowSelectable]='isRowSelectable' [expandChildren]="firstLevelExpanded" #layout1 >

  1. Run the dev demos
  2. Open http://localhost:4200/hierarchicalGrid
  3. In the first hierarchical grid scroll to the last row - 14 and select the last cell "Product: A14"
  4. Press Alt + Down Arrow - this would expand the child grid (or just use the expander to expand the last row)
  5. Press Down arrow key FocusLostOnLastCell

Result

The focus gets lost

Expected result

The first cell in the same column of child grid gets selected

Attachments

Attach a sample if available, and screenshots, if applicable.

VMihalkov avatar Jul 22 '19 11:07 VMihalkov