Open ChristianKohler opened 9 years ago
@ChristianKohler Is this still an issue? Did you go with an alternative? If you didn't, what was your fix?
@niftylettuce yes, still an issue. See: https://rnplay.org/apps/XcsRrQ
@ChristianKohler yeah I just have the same issue here while integrating this, I wonder how we can fix...
@ChristianKohler Perhaps we need to look at this?...
If you compare the code here https://github.com/brentvatne/react-native-overlay/blob/master/RNOverlay.m#L70 to the code here https://github.com/Paldom/SpinnerDialog/blob/master/src/ios/CDVSpinnerDialog.m#L51 that uses rectForView
I think we need to use bounds differently?
actually it's probably this _overlayViewController.view = _overlayBaseView;
the base view controller is not getting defined properly, maybe the traversal thing is broken
See #36 - we will be refactoring this soon to support Android/iOS and not have any issues here, there will no longer be the XCode integration needed
Layout
Phone height: 480 First block height: 100 Second block height: 380
JSX
Expected
LoadingOverlay height = 480
Actual
LoadingOverlay height = 380 (same as owner view)
Example: https://rnplay.org/apps/_j9F_A/edit