目录

What should I do if the onKeyEvent event of the Web component is not triggered as expected?

Symptom

The onKeyEvent event is set for the Web component to listen for keyboard events. However, it is not triggered when a key is pressed or released.

Solution

Currently, the Web component does not support the onKeyEvent event. To listen for keyboard events for the Web component, you can use the onInterceptKeyEvent callback.

Reference

onInterceptKeyEvent