1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix: remove tabview content not click focusable causes bugs in widgets reacting to focus changes(#3633)

fixes #3614

Co-authored-by: Ruben Vincent Brandhofer <ruben.brandhofer@rwth-aachen.de>
This commit is contained in:
Ruben Brandhofer 2022-08-28 19:23:29 +02:00 committed by GitHub
parent f65ee82758
commit a81dbd338c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,6 @@ lv_obj_t * lv_tabview_add_tab(lv_obj_t * obj, const char * name)
lv_obj_t * page = lv_obj_create(cont);
lv_obj_set_size(page, LV_PCT(100), LV_PCT(100));
lv_obj_clear_flag(page, LV_OBJ_FLAG_CLICK_FOCUSABLE);
uint32_t tab_id = lv_obj_get_child_cnt(cont);
lv_obj_t * btns = lv_tabview_get_tab_btns(obj);