Skip to content

fix-next: drawer plugin viewcontroller init#6379

Merged
MartoYankov merged 2 commits into
masterfrom
myankov/drawer-support
Oct 11, 2018
Merged

fix-next: drawer plugin viewcontroller init#6379
MartoYankov merged 2 commits into
masterfrom
myankov/drawer-support

Conversation

@MartoYankov

Copy link
Copy Markdown
Contributor

Fixes the RadSideDrawer appearing black in next. The problem was caused by #6102 . The issue was that we waited for the native views to be instantiated before we create the wrapper UILayoutViewController. RadSideDrawer checks its modes when its native view is created. It requires the view controller to be created before the native view.

@MartoYankov MartoYankov self-assigned this Oct 10, 2018
@ghost ghost added the in progress label Oct 10, 2018
@MartoYankov MartoYankov force-pushed the myankov/drawer-support branch from bec323a to 9eeb1c4 Compare October 10, 2018 12:57
@MartoYankov

Copy link
Copy Markdown
Contributor Author

test pro_templates

Comment thread tns-core-modules/application/application.ios.ts
return;
}

throw new Error("Root should be either UIViewController or UIView");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we have a scenario where viewController can be UIViewController but not UILayoutViewController -- previously we did not throw exception in this case but with the current flow I think we will.

@MartoYankov MartoYankov force-pushed the myankov/drawer-support branch from 634f8bd to 254c54f Compare October 11, 2018 08:08
@ghost ghost assigned manoldonev Oct 11, 2018
@MartoYankov

Copy link
Copy Markdown
Contributor Author

test pro_templates

@MartoYankov MartoYankov merged commit d91bfd8 into master Oct 11, 2018
@MartoYankov MartoYankov deleted the myankov/drawer-support branch October 11, 2018 12:16
@ghost ghost removed the in progress label Oct 11, 2018
@lock

lock Bot commented Oct 11, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants