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

[TIMOB-26338](7_3_X): iOS Label not shown when opened in window from tab-group (kroll-thread only) #10293

Merged
merged 1 commit into from
Aug 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions iphone/Classes/TiUITabProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -256,17 +256,17 @@ - (void)openWindow:(NSArray *)args
[window setTab:self];
[window setParentOrientationController:self];

TiUIView *view = [window view];
TiViewController *controller = (TiViewController *)[window hostingController];
[view setFrame:controller.view.bounds];

//Send to open. Will come back after _handleOpen returns true.
if (![window opening]) {
args = ([args count] > 1) ? [args objectAtIndex:1] : nil;
if (args != nil) {
args = [NSArray arrayWithObject:args];
}
[window open:args];

TiUIView *view = [window view];
TiViewController *controller = (TiViewController *)[window hostingController];
[view setFrame:controller.view.bounds];
return;
}

Expand Down