Is it possible to dissable default event handler on spinbox?

I have a device that has only one roller and one button. I need to open popup-press button, then i need to choose the number i want to change (rolling and pressing), but i also need to leave the popup. For this purpose i need to kinda roll to an exit button (the device doesnt have any exit button, only one roller and one button and yes i need to have the popup there).

So my question is, am i able to dissable the default event handler and write my own using only the API functions. I know you can write your own handler, but i wasnt able to dissable the “static void lv_spinbox_event(const lv_obj_class_t * class_p, lv_event_t * e)”

LVGL version: 9.2.2