@@ -2474,6 +2474,7 @@ RCT_EXPORT_VIEW_PROPERTY(radius, CGFloat)
2474@property (nonatomic, copy) NSString *behavior;
2474@property (nonatomic, copy) NSString *behavior;
2475@property (nonatomic, assign) CGFloat popoverWidth;
2475@property (nonatomic, assign) CGFloat popoverWidth;
2476@property (nonatomic, assign) CGFloat popoverHeight;
2476@property (nonatomic, assign) CGFloat popoverHeight;
2477+@property (nonatomic, assign) CGFloat popoverPadding;
2477@property (nonatomic, copy) RCTBubblingEventBlock onClose;
2478@property (nonatomic, copy) RCTBubblingEventBlock onClose;
@@ -2510,7 +2511,7 @@ RCT_EXPORT_VIEW_PROPERTY(radius, CGFloat)
2510 contentRect = CGRectUnion(contentRect, child.frame);
2511 contentRect = CGRectUnion(contentRect, child.frame);
2512 if (w <= 0) w = contentRect.size.width;
2513 if (w <= 0) w = contentRect.size.width;
2513− if (h <= 0) h = contentRect.size.height - 20;
2514+ if (h <= 0) h = contentRect.size.height - _popoverPadding;
2515 if (w < 20) w = 20;
2516 if (w < 20) w = 20;
2516 if (h < 10) h = 10;
2517 if (h < 10) h = 10;
@@ -2616,6 +2617,7 @@ RCT_EXPORT_VIEW_PROPERTY(preferredEdge, NSString)
2616RCT_EXPORT_VIEW_PROPERTY(behavior, NSString)
2617RCT_EXPORT_VIEW_PROPERTY(behavior, NSString)
2617RCT_EXPORT_VIEW_PROPERTY(popoverWidth, CGFloat)
2618RCT_EXPORT_VIEW_PROPERTY(popoverWidth, CGFloat)
2618RCT_EXPORT_VIEW_PROPERTY(popoverHeight, CGFloat)
2619RCT_EXPORT_VIEW_PROPERTY(popoverHeight, CGFloat)
2620+RCT_EXPORT_VIEW_PROPERTY(popoverPadding, CGFloat)
2619RCT_EXPORT_VIEW_PROPERTY(onClose, RCTBubblingEventBlock)
2621RCT_EXPORT_VIEW_PROPERTY(onClose, RCTBubblingEventBlock)