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
This commit is contained in:
Marcel Hollerbach 2019-12-29 11:31:53 +01:00
parent 41c7e1c908
commit 7005241b22
1 changed files with 1 additions and 1 deletions

View File

@ -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;