MouseEnter and MouseLeave do not fire in scrollbars during scrolling

Issue Type: Display
Impact: High
Frequency: Constantly
Date First Experienced: 2021-04-28 12:04:00 (-05:00)
Date Last Experienced: 2021-04-28 13:04:00 (-05:00)

Reproduction Steps:
CPU

Intel(R) Core(TM) i7 CPU X 990 @ 3.47GHz

Memory

24.0 GB Other

Speed:	1333 MHz
Slots used:	6 of 6
Form factor:	DIMM

GPU 0

NVIDIA GeForce GTX 1060 6GB

To reproduce, setup a game with a lot of buttons that use MouseEnter and MouseLeave inside a scroll bar. Then scroll via a mouse scroll wheel. The events don’t fire.

Basic File containing minimal things to reproduce:
MouseEnterLeave bug.rbxl (33.7 KB)

Expected Behavior:
I’d expect MouseEnter and MouseLeave to fire when the scrollbar is used via a scrollwheel on a mouse, because technically the mouse is still entering and leaving a frame, even if the mouse itself isn’t moving.

If everything worked, when I scroll my mouse wheel, MouseEnter and Leave should fire.

Actual Behavior:
[TEST] Origin II - Roblox
YWAewRW6kN
4uzyi6Ma4e

Workaround:

4 Likes

Hi @Conmmander - thank you for the bug report, this is an issue that we’re aware of and plan on addressing. Although we’re unable to provide an exact timeline of when we might expect this to be resolved, your feedback helps us prioritize issues like this. Thanks for letting us know that you’re affected by this!

4 Likes

i’d imagine this happens because guis are only checked on mouse movement rather than every frame for effiency purposes.

1 Like