How do I make tabview accept topmost touch control

Description

How do I make tabview accept topmost touch control,The parent control of the icon is tabview, but the icon has a floating layout. I hope that sliding the icon will also affect the sliding of tabview, because the icon will cover many controls. At present, pressing the icon will easily cause the tabview to fail to slide.
But the label does nothing to propagate the slide to the tabview.

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

D133

What LVGL version are you using?

V8.3

What do you want to achieve?

add LV_OBJ_FLAG_CLICKABLE,LV_OBJ_FLAG_SCROLL_CHAIN,
LV_OBJ_FLAG_GESTURE_BUBBLE,LV_OBJ_FLAG_EVENT_BUBBLE flag for icon,But it didn’t work.

What have you tried so far?

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*/
lv_obj_add_flag(obj->icon_img[icon_num], LV_OBJ_FLAG_CLICKABLE);
lv_obj_add_flag(obj->icon_img[icon_num], LV_OBJ_FLAG_SCROLL_CHAIN);
lv_obj_add_flag(obj->icon_img[icon_num], LV_OBJ_FLAG_EVENT_BUBBLE);
lv_obj_add_flag(obj->icon_img[icon_num], LV_OBJ_FLAG_GESTURE_BUBBLE);
lv_obj_add_event_cb(obj->icon_img[icon_num], icon_info_list[icon_num].event_cb, LV_EVENT_ALL, NULL);

Screenshot and/or video

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

1 Like