diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java index 4da9ed777..56eeabc50 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java @@ -67,13 +67,13 @@ public abstract class Event { /** * Given two events, coalesce them into a single event that will be sent to JS instead of two - * separate events. By default, just chooses the one the is more recent. + * separate events. By default, just chooses the one the is more recent, or {@code this} if timestamps are the same. * * Two events will only ever try to be coalesced if they have the same event name, view id, and * coalescing key. */ public T coalesce(T otherEvent) { - return (T) (getTimestampMs() > otherEvent.getTimestampMs() ? this : otherEvent); + return (T) (getTimestampMs() >= otherEvent.getTimestampMs() ? this : otherEvent); } /**