File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <manifest package =" maui-application-id-placeholder" version =" 0.0.0" api-version =" 8 " xmlns =" http://tizen.org/ns/packages" >
2
+ <manifest package =" maui-application-id-placeholder" version =" 0.0.0" api-version =" 10 " xmlns =" http://tizen.org/ns/packages" >
3
3
<profile name =" common" />
4
4
<ui-application appid =" maui-application-id-placeholder" exec =" CommunityToolkit.Maui.Sample.dll" multiple =" false" nodisplay =" false" taskmanage =" true" type =" dotnet" launch_mode =" single" >
5
5
<label >maui-application-title-placeholder</label >
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ namespace CommunityToolkit.Maui.Core.Views;
8
8
/// </summary>
9
9
public class MauiSemanticOrderView : ContentViewGroup
10
10
{
11
- ISemanticOrderView ? virtualView ;
12
-
13
11
/// <summary>
14
12
/// Constructor for MauiSemanticOrderView.
15
13
/// </summary>
@@ -19,10 +17,10 @@ public MauiSemanticOrderView(IView virtualView) : base(virtualView)
19
17
20
18
internal ISemanticOrderView ? VirtualView
21
19
{
22
- get => virtualView ;
20
+ get ;
23
21
set
24
22
{
25
- virtualView = value ;
23
+ field = value ;
26
24
UpdateViewOrder ( ) ;
27
25
}
28
26
}
@@ -33,9 +31,8 @@ internal void UpdateViewOrder()
33
31
{
34
32
return ;
35
33
}
36
-
37
- var accessibilityManager = AccessibilityManager . Instance ;
38
- var order = accessibilityManager . GenerateNewFocusOrder ( ) ;
34
+
35
+ var order = 0 ;
39
36
40
37
foreach ( var view in VirtualView . ViewOrder )
41
38
{
@@ -45,12 +42,12 @@ internal void UpdateViewOrder()
45
42
{
46
43
if ( wrapperView . Content is not null )
47
44
{
48
- accessibilityManager . SetFocusOrder ( wrapperView . Content , order ) ;
45
+ wrapperView . Content . SiblingOrder = order ;
49
46
}
50
47
}
51
48
else
52
49
{
53
- accessibilityManager . SetFocusOrder ( platformViewHandler . PlatformView , order ) ;
50
+ platformViewHandler . PlatformView . SiblingOrder = order ;
54
51
}
55
52
56
53
order ++ ;
You can’t perform that action at this time.
0 commit comments