Using VoiceOver DirectInteraction with TextEditor or TextField not working as expected

Hello everyone,  I am currently on the development of an app dedicated to deafblind people.  In order to do that, I must allow the use of the application at the same time to a blind person and a sighted person.  The chosen strategy consists of systematically running the application under Voice Over, and activating or deactivating the "DirectTouch" option depending on whether it is the sighted or blind person using the application.  Things generally work fine, except when it comes to editing a TextEditor area. Indeed, as soon as the focus of Voice Over is found on the text zone to be modified, the DirectTouch option is automatically deactivated from all the other elements of the view, without us being able to do anything about it.  In order to spotlight this problem, I have made a simpler app, where there only are : a toggle button, a push button and an editable text area. All of them have the modifier : .accessibility(addTraits: AllowsDirectInteraction).  When the app launches, we are well able to interact with the 2 buttons via DirectTouch under voice over.  But as soon as we want to modify the editable text zone, the DirectTouch is deactivated on the whole view, including the 2 buttons on which it worked just before.  To restore it, you must then remove the keyboard which allows you to write in the text area. And DirectTouch is automatically reactivated.  Attached is the code of our "simple" application which allows us to illustrate the problem:

VStack { 
//Button to resign first responder from the TextEditor 
Button { 
                UIApplication.shared.resignFirstResponder() 
} label: { 
                Text(“ResponderResignButton”) 
} 
 
//Toggle to observe the correct functioning of directInteraction 
Toggle(isOn: $isToggleOn) { 
Text(“TestToggle :”) 
} 
                //Editable text area declaration 
TextEditor(text: $text) 
} 
.accessibility(addTraits: AllowsDirectInteraction) //DirectInteraction apply to all app elements 

Do not hesitate to ask me questions if everything is not clear, I thank you in advance for your feedback. Even if you do not have the exact solution to my question, any information will be welcome no matter what happens  kindly  Bisa

Using VoiceOver DirectInteraction with TextEditor or TextField not working as expected
 
 
Q