Cause due to LVGL not calling our on press callback, as the object got deleted in the previous callback that was added lv_msgbox. Fix is to remove all event callbacks for the close button so only ours exist. We make sure to close the lv_msgbox ourselves instead.
Cause due to LVGL not calling our on press callback, as the object got deleted in the previous callback that was added lv_msgbox. Fix is to remove all event callbacks for the close button so only ours exist. We make sure to close the lv_msgbox ourselves instead.