UI bug?

Hello, I just found that OnPointerUp won’t fire without OnPointerDown. I mean when I press somewhere out UI rect, than move pointer over it and release nothing happens, any walk around?

public void OnPointerUp(PointerEventData eventData)
{
Debug.Log(“Up”);
}

This is by design. It’s an unfortunate design choice, but it’s the way it’s meant to work.

its done on purpose for proper state flow of pointer gestures in general.

For this I think you want to use IDropHandler for that since you are starting on a different object and ending (dropping) on that object

1 Like

I tried OnDrop, but it never fires… doesn’t matter where I starting, out ui, over other ui or on the same…