react-native-maps 1.29.1 → 1.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -425,9 +425,9 @@ NSInteger const AIR_CALLOUT_OPEN_ZINDEX_BASELINE = 999;
425
425
  CGRect reactFrame = self.frame;
426
426
 
427
427
  UIView *firstSubView = self.subviews.firstObject;
428
- if (firstSubView && (CGRectGetWidth(firstSubView.frame) > CGRectGetWidth(reactFrame) ||
429
- CGRectGetHeight(firstSubView.frame) > CGRectGetHeight(reactFrame))) {
430
- reactFrame = firstSubView.frame;
428
+ if (firstSubView && (CGRectGetWidth(firstSubView.bounds) > CGRectGetWidth(reactFrame) ||
429
+ CGRectGetHeight(firstSubView.bounds) > CGRectGetHeight(reactFrame))) {
430
+ reactFrame.size = firstSubView.bounds.size;
431
431
  }
432
432
  [self reactSetFrame:reactFrame];
433
433
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "types": "dist/src/index.d.ts",
8
8
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
9
9
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
10
- "version": "1.29.1",
10
+ "version": "1.29.2",
11
11
  "license": "MIT",
12
12
  "scripts": {
13
13
  "lint": "eslint . --max-warnings 0",