Problem with Spinbox widget!

Hi,

In my project, I’m using LVGL 8.0 and a Spinbox widget with an encoder in one of the screens. The encoder is set up as an input device and works well with other widgets and screens.
The Spinbox widget functions as intended with the exception of this strange problem: after a while, it simply stops updating the values when the encoder is turned left or “anticlockwise” (but continues to function normally when the encoder is turned right or “clockwise”).
As far as my debugging goes, ‘LV KEY LEFT’ is not even getting an event. Here’s my Spinbox event handler code:

void SpinboxEventHandler_v(lv_event_t * e)
{
uint32_t u32_key;

lv_event_code_t event_code = lv_event_get_code(e);

if (event_code == LV_EVENT_KEY)
{
u32_key = lv_event_get_key(e);
if (u32_key == LV_KEY_LEFT)
{
lv_spinbox_decrement(spinbox);

  /* Project specific code */
}
else if (u32_key == LV_KEY_RIGHT)
{
  lv_spinbox_increment(spinbox);

  /* Project specific code */
}

} // if (event_code == LV_EVENT_KEY)
}

Is there anything I’m missing? Have you run into this problem before? Do you have any suggestions for resolving it? Any assistance with this issue would be greatly appreciated!
Thanks.

Did you check the encoder output with a scope? I’d guess it’s more likely to be a hardware or driver problem if LVGL isn’t even receiving the event.