Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Elements] Grid does not trigger keydown event as expected. #14028

Closed
MayaKirova opened this issue Mar 27, 2024 · 2 comments
Closed

[Elements] Grid does not trigger keydown event as expected. #14028

MayaKirova opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels

Comments

@MayaKirova
Copy link
Contributor

Description

Event triggers correctly for some keys, like Space or Enter, but not for any alphabet or number keys.

"igniteui-webcomponents-grids": "4.7.1",

  • browser: Any

Steps to reproduce

  1. Run the attached sample.
  2. Open the console.
  3. Select any cell in the grid and start typing any text.

Result

Event handler does not get called and nothing gets outputted in the console.

Expected result

It should be called for any key down.

Attachments

5a333911-60f7-409f-a9cf-b1fd00b07c5c.zip

Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label May 27, 2024
@dkamburov dkamburov removed the status: inactive Used to stale issues and pull requests label May 27, 2024
@MayaKirova MayaKirova self-assigned this May 27, 2024
@MayaKirova
Copy link
Contributor Author

Actually looking in angular's source it seems that this is intended as any keydown that is not a supported combination for the navigation service is ignored. There's also a remark in the API docs about this:
https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/IgxGridComponent.html#gridKeydown
'This event is fired only if the key combination is supported in the grid. '

Probably the wc/react/blazor samples from which this was originally logged: IgniteUI/igniteui-xplat-examples#445
Can be updated to use the standard keydown event, or if that's not possible they can be made as custom samples for each platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants