Currently only event updates that happen still within the component bounds are propagated. Even if a drag (or hover) started within the component, once the pointer leaves, it stops receiving updates.
We should provide an option for the user to configure this; for example:
class FooComponent extends PositionComponent with DragCallbacks {
// false by default; or some other name like this
@override
bool get continueReceivingDragCallbacks => true;
}
Same for the hovers.
This should actually be true by default as this use case is much more common.
Similar rationale of #2718
Also if you are dragging a component around too fast, it "loses track" (i.e. if your mouse displacement is bigger than the component's size).
No.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too