bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7005241b22a583cd06426a01f1c956571da249a3

commit 7005241b22a583cd06426a01f1c956571da249a3
Author: Marcel Hollerbach <[email protected]>
Date:   Sun Dec 29 11:31:53 2019 +0100

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D10980
---
 src/lib/elementary/efl_ui_collection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 


Reply via email to