react-native-platform-components 0.8.5 → 0.8.6

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.
@@ -332,7 +332,7 @@ public final class PCDatePickerView: UIControl,
332
332
  height: max(bounds.height, 44)
333
333
  )
334
334
  pop.sourceRect = sourceRect
335
- pop.permittedArrowDirections = [.up, .down]
335
+ pop.permittedArrowDirections = []
336
336
  }
337
337
 
338
338
  modalVC = vc
@@ -29,7 +29,8 @@ using namespace facebook::react;
29
29
  - (instancetype)initWithFrame:(CGRect)frame {
30
30
  if (self = [super initWithFrame:frame]) {
31
31
  _view = [[PCLiquidGlassView alloc] initWithEffect:nil];
32
- self.contentView = _view;
32
+ _view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
33
+ [self addSubview:_view];
33
34
 
34
35
  // Set up press callback
35
36
  __weak __typeof(self) weakSelf = self;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-platform-components",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Native UI components for React Native: DatePicker, ContextMenu, SelectionMenu, SegmentedControl, LiquidGlass.",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",