Angular keyup-events are not recognized

Hello,

using angular’s keyup-listeners (like (keyup.enter)) still results in a false positive (as stated in https://community.sonarsource.com/t/false-positive-for-s1082-angular-keyup-enter-event-not-recognized/114253) (using sonar v2026.1).

There seem to be no updates on the corresponding issue https://sonarsource.atlassian.net/browse/SONARHTML-251.

Since it is quite annoying to manually accept all the resulting issues, I would like to know, if there will be any progress with that topic.

Thanks in advance

Hi,

Welcome to the community!

I’ll let the developers know that you’re voting to prioritize the ticket.

 
Ann

Hi,

You should soon see this improved. I’ve improved the detection in Vue and in Angular - SONARHTML-251 fix(S1082): Recognize Vue @keydown/@keyup and Angular (keyup.enter) as valid keyboard handlers by zglicz · Pull Request #595 · SonarSource/sonar-html · GitHub

Cheers,

Michal

2 Likes