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 11<?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" >
33 <profile name =" common" />
44 <ui-application appid =" maui-application-id-placeholder" exec =" CommunityToolkit.Maui.Sample.dll" multiple =" false" nodisplay =" false" taskmanage =" true" type =" dotnet" launch_mode =" single" >
55 <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;
88/// </summary>
99public class MauiSemanticOrderView : ContentViewGroup
1010{
11- ISemanticOrderView ? virtualView ;
12-
1311 /// <summary>
1412 /// Constructor for MauiSemanticOrderView.
1513 /// </summary>
@@ -19,10 +17,10 @@ public MauiSemanticOrderView(IView virtualView) : base(virtualView)
1917
2018 internal ISemanticOrderView ? VirtualView
2119 {
22- get => virtualView ;
20+ get ;
2321 set
2422 {
25- virtualView = value ;
23+ field = value ;
2624 UpdateViewOrder ( ) ;
2725 }
2826 }
@@ -33,9 +31,8 @@ internal void UpdateViewOrder()
3331 {
3432 return ;
3533 }
36-
37- var accessibilityManager = AccessibilityManager . Instance ;
38- var order = accessibilityManager . GenerateNewFocusOrder ( ) ;
34+
35+ var order = 0 ;
3936
4037 foreach ( var view in VirtualView . ViewOrder )
4138 {
@@ -45,12 +42,12 @@ internal void UpdateViewOrder()
4542 {
4643 if ( wrapperView . Content is not null )
4744 {
48- accessibilityManager . SetFocusOrder ( wrapperView . Content , order ) ;
45+ wrapperView . Content . SiblingOrder = order ;
4946 }
5047 }
5148 else
5249 {
53- accessibilityManager . SetFocusOrder ( platformViewHandler . PlatformView , order ) ;
50+ platformViewHandler . PlatformView . SiblingOrder = order ;
5451 }
5552
5653 order ++ ;
You can’t perform that action at this time.
0 commit comments