diff --git a/ios/events/RNSHeaderHeightChangeEvent.mm b/ios/events/RNSHeaderHeightChangeEvent.mm index 1e834466d9..fbda1f8e30 100644 --- a/ios/events/RNSHeaderHeightChangeEvent.mm +++ b/ios/events/RNSHeaderHeightChangeEvent.mm @@ -31,6 +31,21 @@ - (NSDictionary *)body return body; } +- (BOOL)canCoalesce +{ + return YES; +} + +- (uint16_t)coalescingKey +{ + return _headerHeight; +} + +- (id)coalesceWithEvent:(id)newEvent +{ + return newEvent; +} + + (NSString *)moduleDotMethod { return @"RCTEventEmitter.receiveEvent";