LVGLv8 The imgbtn(image button) cannot be focused

Description

I upgrade from LVGL v6 to LVGL v8,I find the imgbtn can not be focused

What MCU/Processor/Board and compiler are you using?

stm32f103zet6

What LVGL version are you using?

v8.0

What do you want to achieve?

The imgbtn can be focused

What have you tried so far?

1.Add imgbtn to the group

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/
/*Create a container with ROW flex direction*/
lv_obj_t * cont_row = lv_obj_create(lv_scr_act());
lv_obj_set_size(cont_row, 320,70);
lv_obj_align(cont_row, LV_ALIGN_BOTTOM_MID, 0, 0);
	lv_obj_set_scroll_snap_x(cont_row, LV_SCROLL_SNAP_CENTER);
lv_obj_set_flex_flow(cont_row, LV_FLEX_FLOW_ROW);
	

LV_IMG_DECLARE(backward_50);
lv_obj_t * backward_img = lv_imgbtn_create(cont_row);
lv_imgbtn_set_src(backward_img,LV_IMGBTN_STATE_RELEASED,&backward_50,NULL,NULL);
lv_obj_set_size(backward_img, 50, 50);
lv_group_add_obj(group,backward_img);
	
LV_IMG_DECLARE(left_50);
lv_obj_t * left_img = lv_imgbtn_create(cont_row);
lv_imgbtn_set_src(left_img,LV_IMGBTN_STATE_RELEASED,&left_50,NULL,NULL);
lv_obj_set_size(left_img, 50, 50);
lv_obj_center(left_img);
lv_group_add_obj(group,left_img);

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.


The color of the keys has changed