[NUI] Improves GetNextFocusableView
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 14 Dec 2021 06:00:32 +0000 (15:00 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 21 Dec 2021 09:32:16 +0000 (18:32 +0900)
commitff200c9573b3408a87d5dc13f5ff55261484451d
tree75abd40198eeb3b8c2a0aabfd8c6463231356f66
parente49fdcacd3794a2a9e6f81a136cbfdaeaddf8d4d
[NUI] Improves GetNextFocusableView

Currently, GetNextFocusableView of FocusableBase was Index-based of ContentContainer Child.

This is a problem.

Changes the search for the next focus view from index-based to position-based.
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI/src/internal/Interop/Interop.FocusManager.cs
src/Tizen.NUI/src/public/Input/FocusManager.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/NestedScrollViewSamle.cs [new file with mode: 0755]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/ScrollableFocusSample.cs [new file with mode: 0755]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/ScrollableFocusSample2.cs [new file with mode: 0755]