I’m using UIToolkit Scrollview and a UIToolkit button.I’m using U
But I have an issue where when I start selecting a button then drag on the scrollview, then I drag down and the hover effect both gets stuck and keeps triggering each time a button hits the spot where I first started touching.
Hi,
What Unity version are you on? I’m not able to reproduce on our latest version. Maybe we are missing a backport to an older version.
You can send us a small project with the repro steps using Help → Report a bug…
I think this is the same bug I reported ages ago. I reported multiple issues with buttons getting stuck. This makes using UIToolkit impossible right now.
Do you know a timeline when it should be fixed? It seems like a critical bug but hasn’t any movement for months. It breaks UI with buttons getting stuck.
We don’t have an ETA for it, but I talked with the dev and the work on the bugs mentioned above was started and we have fixes for them, but there was a more pressing issue to handle for the 2023.1 release, so he couldn’t properly finish this work. He should be coming back to it soon-ish, stay tuned!
Just letting you know that we hear your complaints and that we agree on the importance of fixing those bugs as soon as possible. The touch vs hover bugs are well known and near the top of our list. It’s hard to promise any ETA that we can be sure to honor, because bug prioritization is a very dynamic process, but I assure you that I’m circling back to this one regularly. Hopefully we can give you good news soon.
I’m investigation the issues mentionned by @MousePods . After looking at:
The issue seams to be that the “button-diamond” is still visible even if the image in it has been translated down. You can see it using the UI Toolkit Debugger:
Just bumping this. Wondering if this is still a high priority? The button on mobile will still get stuck in the :hover state. Is this going to be fixed on 2022.3 LTS soon? I had a workaround, but now that workaround is not working after updating to 2022.3 because of another issue:
I just seem to not be able to get a solution to this and it’s been almost a year.
So I am using this to set the hover effect, but rotation seems to change the location of the hover, which might be an issue in the difference between a Windows over and an Android focus. What do you think? Added a zipped video with uxml and uss files.