How can i prevent focusing when i press the list to just want to do a scroll

when i press an item on the list, it will get focus. but for me, i just want to do a scroll without changing focus. how can i do that?

I think you need this:
lv_obj_add_protect(my_list, LV_PROTECT_CLICK_FOCUS);

nope, add this protect will prevent focusing, but i still need focusing after clicked.


Almost, but you need to apply it on the button:

 lv_obj_add_protect(list_btn1, LV_PROTECT_CLICK_FOCUS);