Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In iOS APP,error in react native rootView UI layout when the rootView is the tabbar rootview #21062

Closed
CyanSmile opened this issue Sep 12, 2018 · 2 comments
Labels
Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@CyanSmile
Copy link

CyanSmile commented Sep 12, 2018

Environment

OS: macOS High Sierra 10.13.2
Node: 8.11.3
npm: 5.6.0
Xcode: Xcode 9.4 (9F1027a)

Packages: (wanted => installed)
react: 16.3.1 => 16.4.0
react-native: 0.54.3

Description

In iOS APP,we have two ViewController A/B that carry react native RCTRootView , AVC is the tabbar RootVC , when AVC push to BVC , then BVC pop to AVC , the AVC carry react native RCTRootViews frame Rendering error . then, we found the react native RCTRootViews frame is right, but the RCTRootContentView`frame is error, and the RCTView maybe rendering many times.

In AVC/BVC, my iOS code:

  • (void)loadView {

    RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:self.rnBridge moduleName:self.rnModuleName initialProperties:[self rnProperties]];

    self.view = rootView;
    }

AVC push BVC
self.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:rnController animated:animated];

BVC pop AVC
[self.navigationController popViewControllerAnimated:animated];

the error
img_1bf4cb4ff430-1

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Sep 12, 2018
@stale
Copy link

stale bot commented Dec 16, 2018

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 16, 2018
@stale
Copy link

stale bot commented Dec 23, 2018

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 23, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Dec 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants