I tested on a real device and found that when I open the media list interface, the playback interface is also opened most of the time. It is normal when in the editor
Unity Ver: 2021.1.0b3
UIToolkit Ver: 1.0.0-preview.14
I tested on a real device and found that when I open the media list interface, the playback interface is also opened most of the time. It is normal when in the editor
Unity Ver: 2021.1.0b3
UIToolkit Ver: 1.0.0-preview.14
My temporary solution,Annotate the SendInputEvents method call in DefaultEventSystem.Update
I had similar weird offset issues with touch inputs
Since you’re tweaking the package directly, you can try to edit the lines from (Default)EventSystem that I mentionned in this post. On our side, it was enough to fix these issues.
Thanks, I’ll try it later, I’m going to bed now
Thank you very much, your solution still works in preview 14
You’re welcome !
You can track the issue here (case 1288368)
ok
Sorry for that, guys, we know about that issue and how to fix it, and we do have the fixed code lying around, have had it for quite some time now, but it’s unfortunately not released in any preview of the package yet. The reasons for that are… complicated, but let’s just say, we have it under control, it’s going to come in a future update of the package, and sorry again for the super long delay :-/
If you have the package source checked out locally, you can definitely edit it, the fix posted here is good and does the job perfectly. Thanks for opening the issue and reminding us that there are many people waiting for that fix, it generally helps for prioritizing the bits that go in in future updates and the bits that don’t.
I found today that using your way although the button is not triggered in error, but ContainsPoint method can not be accurately judged, so I am still commented SendInputEvents call, if you use the ContainsPoint method, then you need to pay attention to
He will always return false, resulting in the closure of
Looking forward to the next version update!