summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-29 11:31:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-02 12:16:13 +0100
commit7005241b22a583cd06426a01f1c956571da249a3 (patch)
treed341ac521e5188a1bead11038b276072c346fc76
parent41c7e1c908772bd8f4ec266c661faabeea357ec6 (diff)
efl_ui_collection: always scroll in the item
never the focused element. The focused element can be different from the item. This fixes a error when item is not focusable, but content in the item is. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10980
-rw-r--r--src/lib/elementary/efl_ui_collection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_collection.c b/src/lib/elementary/efl_ui_collection.c
index 53eb344d4e..02e76552e6 100644
--- a/src/lib/elementary/efl_ui_collection.c
+++ b/src/lib/elementary/efl_ui_collection.c
@@ -1087,7 +1087,7 @@ _efl_ui_collection_efl_ui_focus_manager_move(Eo *obj, Efl_Ui_Collection_Data *pd
1087 } 1087 }
1088 else 1088 else
1089 { 1089 {
1090 _item_scroll_internal(obj, pd, new_obj, .0, EINA_TRUE); 1090 _item_scroll_internal(obj, pd, efl_provider_find(new_obj, EFL_UI_ITEM_CLASS), .0, EINA_TRUE);
1091 } 1091 }
1092 1092
1093 return new_obj; 1093 return new_obj;