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

Sidenav: Input Key Down triggers "TypeError: ctx_r16.onKeyDown is not a function" #13569

Closed
luis-incomm opened this issue Aug 29, 2023 · 3 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@luis-incomm
Copy link

Describe the bug

Any input element inside a p-sidenav component is triggering "TypeError: ctx_r16.onKeyDown is not a function" when a key is pressed. This is happening on any 16 version.

Environment

@angular-devkit/architect 0.1602.0
@angular-devkit/build-angular 16.2.0
@angular-devkit/core 16.2.0
@angular-devkit/schematics 16.2.0
@angular/cli 16.2.0
@schematics/angular 16.2.0
rxjs 7.8.1
typescript 5.1.6
zone.js 0.13.1
npm 8.3.1
node v16.14.0

Reproducer

https://stackblitz.com/edit/j5tjkf?file=src%2Fapp%2Fdemo%2Fsidebar-size-demo.html

Angular version

16.2.0

PrimeNG version

16.2.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.14.0

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Add any input element inside a p-sidebar component
  2. Try to type focusing on the element
  3. Open the console
  4. "TypeError: ctx_r16.onKeyDown is not a function" error is trigger

Expected behavior

No response

@luis-incomm luis-incomm added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 29, 2023
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 29, 2023
@mertsincan mertsincan added this to the 16.2.1 milestone Aug 29, 2023
@gucal gucal removed this from the 16.2.1 milestone Aug 29, 2023
@gucal
Copy link
Contributor

gucal commented Aug 29, 2023

Hi,

The related issue has been corrected with this pr #13490. With version 16.2.1 the bug will be fixed.

Thank you for your report.

@gucal gucal closed this as completed Aug 29, 2023
@luis-incomm
Copy link
Author

Thanks a lot, @gucal much appreciated it.

@uaiangemar
Copy link

Buen día con todos, consulta, tengo el mismo error, pero no se como aplicar la solución mencionada, agradeceré si me pudieran orientar como solucionar.

Gracias.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

4 participants