We really need an ETA for this patch… for a platform as big as Roblox, the fact that something so essential in UI design is broken is honestly embarrassing.
Nothing gets a player to panic more than menus that appear to be stuck, if the chat is silent and no players are moving nearby they easily perceive it as roblox being frozen really. Especially with context menus that appear upon right-clicking, it feels very odd to players when the menu doesn’t go away upon leaving it; it’s pretty much the default in many operating systems.
To develop on Roblox you need to be comfortable with lots of workarounds, but this has been a serious problem for a long time. I ended up creating my own gesture input system to work around this years ago.
This is also effecting a game that I am currently working on, any updates/eta??
Still happening almost 2 months later with no ETA
You should make sure to check the release notes every week.
https://wiki.roblox.com/index.php?title=ReleaseNotes/345
Once the “Pending” turns into “Live”, you should be able to see improvements on MouseLeave behavior (and the other events listed there).
You can subscribe to release notes by setting the notification level to “Watching First Post” in the #public:Release-Notes category.
Thank you so much! Didn’t see this.
Still a (big) issue for me as well. Only happens when multiple buttons are close to each other and moving the mouse fast. I notice it in my games and others. This issue can really confuse players in the UI. Still shows “pending” in the release notes, many months later.
This bug is expected to be fixed when the new UI backend system goes live which will hopefully be sometime this week.
With any luck I will turn this on this week and this bug will go away. No promises though!
Did you have any luck? I’m still getting this issue massively so I’m going to assume you encountered another issue.
The fix is now live for desktop (PC/Mac). Will be live for mobile later this week most likely.
Yay it’s finally fixed, many thanks from all of us.
Also, if you have the latest version of the mobile client on iOS or Android it should also work there.
Not to be the guy that brings up an old thread, but your fix doesn’t seem like it did anything at all. In fact, I thought you guys were still working on the fix.
In my game, MouseEnter and MouseLeave behave like they have for years: unreliably. You can move the mouse quickly around the buttons in my menu and see that the event clearly is not firing properly:
Is there anything else that can be done about this?
It seems that there’s a bug where if you move the mouse quickly from one button to another, the new button will fire MouseEnter before the old button fires MouseLeave. If you have a system where you have a variable storing the currently hovered button, this will cause the following behavior:
- You’re hovering button A.
- You move the hover to button B.
- B.MouseEnter fires, you set hoveredButton to B.
- A.MouseLeave fires, you set hoveredButton to
nil
. - hoveredButton is now nil despite B still being in the hover state.
We’ll look into fixing it.
A fix would be greatly appreciated! My game uses animations that rely on that and it would just look better if they worked more often
It looks like for your particular game, this isn’t the issue.
There are calls to TweenSize for MouseEnter and Leave, and the override boolean is set to false. If you set this to true, it works. This is because without setting override, the tweens can run simultaneously and the state gets messy. I’d also recommend using TweenService instead as the old Tween methods will be deprecated in the future.