Skip to content

IgxGrid: Pressing browser zoom-in shortcut key throws TypeError: Cannot read properties of undefined (reading 'rowIndex') #17577

Description

@mkamiishi

Description

igx-grid throws an uncaught TypeError in IgxGridNavigationService.dispatchEvent() whenever + or = is pressed while a grid cell is focused — with or without a modifier key.

Framework

Angular

Angular Version

21.2.20

Ignite UI for Angular Version

21.2.16 (also verified present in 22.1.2)

Component / Area

Grid

Browser

Chrome

Operating System

Windows

Command Not Working

Steps to Reproduce

  1. Run the sample.
  2. Click any cell of the grid (so .igx-grid__tbody-content has focus).
  3. Press +, or Ctrl++(browser zoom-in).

Actual Result

An uncaught error reaches the application's ErrorHandler:

TypeError: Cannot read properties of undefined (reading 'rowIndex')
at IgxGridNavigationService.dispatchEvent (igniteui-angular-grids-core.mjs)
at IgxGridNavigationService.handleNavigation (igniteui-angular-grids-core.mjs)
at IgxGridComponent_Template_div_keydown_4_listener (igniteui-angular-grids-grid.mjs)

Expected Result

The key is ignored (it is not a navigation key); no error is thrown.

Reproduction URL

No response

Attachments

igx-grid-plus-key-repro.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions