Spent some time screaming “Why can’t my component receive keyboard events? “
Crazy, I’m not sure why i never knew this, but for a component to receive keyboard events, it needs to implement IFocusMangerComponent. And then, however you’re trying to receive keyboard events, by overriding keyDownHandler, or listening for a keydown event, it should now receive these events…
easy when you know how!
Leave a Reply