-
Notifications
You must be signed in to change notification settings - Fork 217
Open
@yanmariomenev
Description
Description
If you focus the component using the keyboard and type a letter, it will throw a Cannot read properties of undefined (reading 'focus')
error. This seems to be related to the printableCharacters logic in both components. A possible solution would be to add a null-check befor trying to focus on an item.
preview-587cd39a5889a.js:2 ERROR TypeError: Cannot read properties of undefined (reading 'focus')
at TapSubscriber.eval [as _tapNext] (progress-kendo-angul...pdowns.mjs:12643:27)
at TapSubscriber._next (tap.ts:120:21)
at Subscriber.next (Subscriber.ts:99:12)
at Subject.next (Subject.ts:70:17)
at DropDownTreeComponent.handleKeydown (progress-kendo-angul...pdowns.mjs:12791:38)
at HTMLElement.eval (dom_renderer.ts:430:11)
at _ZoneDelegate.invokeTask (zone.umd.js:449:37)
at eval (ng_zone.ts:26:1)
at AsyncStackTaggingZoneSpec.onInvokeTask (ng_zone.ts:26:1)
at _ZoneDelegate.invokeTask (zone.umd.js:448:42)
Steps To Reproduce
Open example 1 or example 2.
Focus the component using the tab key and type a letter like g
.