FocusChanged callback should be called after Focus has changed. 22/272922/4
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 28 Mar 2022 04:14:36 +0000 (13:14 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 29 Mar 2022 01:53:41 +0000 (10:53 +0900)
commit7983ab0c64db50521eb52e0ba6f91196fc9c4cca
tree04d3f1284532ee5f4ff420b08817de3b1595dad5
parentc49e595f12e9e56cd7c35262eb52ae1f2d9b685b
FocusChanged callback should be called after Focus has changed.

It is now called before Focus is changed.

So calling GetCurrentFocusActor() inside the FocusChanged callback returns the prvious actor.

This is a problem.

So, change the FocusChanged callback to be called after the Focus is changed.

Change-Id: Ie270822ac01196e0bf9a18c2e9ab58326fcb745b
dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp