flame icon indicating copy to clipboard operation
flame copied to clipboard

Incorrect behavior of HoverCallbacks when the mouse is pressed

Open denisgl7 opened this issue 2 years ago • 1 comments

I tried the HoverCallbacks mixin from the main branch: When the mouse is pressed and the object is exited without releasing the click, HoverCallbacks does not notify the onHoverExit function.

If I leave the area with the mouse pressed and return back, I do not receive any events at all

https://github.com/flame-engine/flame/assets/18004353/da5c593d-d4cb-4a2c-b76e-4bb33a66d8d1

denisgl7 avatar Sep 16 '23 18:09 denisgl7

Like I wrote on Discord, we have to add cancel events to the callbacks to be able to handle this.

spydon avatar Sep 18 '23 10:09 spydon