[NUI] If the view had focus when it was unparented, the focus is cleared. (#4654)
authorJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Thu, 13 Oct 2022 05:18:22 +0000 (14:18 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 13 Oct 2022 08:24:40 +0000 (17:24 +0900)
commit09f52bc8bdea3e4e50b610c0b6bc18b54104feb4
tree2077279da7e3e6f2e57a67e9abf3d22cfe882712
parent074379d34782649f2f4f48cc8e1970260057b2aa
[NUI] If the view had focus when it was unparented, the focus is cleared. (#4654)

When the view is unparented, the focus is not cleared.
So, when app re-add the view and SetCurrentFocusView, app do not receiving the FocusGained event.
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/Common/Layer.cs