diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-12-29 11:31:53 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-01-02 12:16:13 +0100 |
commit | 7005241b22a583cd06426a01f1c956571da249a3 (patch) | |
tree | d341ac521e5188a1bead11038b276072c346fc76 | |
parent | 41c7e1c908772bd8f4ec266c661faabeea357ec6 (diff) | |
download | efl-7005241b22a583cd06426a01f1c956571da249a3.tar.gz |
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.c | 2 |
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 } else { - _item_scroll_internal(obj, pd, new_obj, .0, EINA_TRUE); + _item_scroll_internal(obj, pd, efl_provider_find(new_obj, EFL_UI_ITEM_CLASS), .0, EINA_TRUE); } return new_obj; |