Skip to content

fix(bottomsheet): support Angular Ivy compiler #150

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

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

kmmccafferty96
Copy link
Contributor

My fix in here worked for using the nativescript-material-components in Ivy, however there was still an issue with the nativescript-material-bottomsheet when Ivy was turned on. It turns out that it was because the index being passed into the Angular viewContainerRef.createComponent should be 0 based (https://angular.io/api/core/ViewContainerRef#insert) and -1 was being passed in here.

I tested this on both iOS and Android with Ivy turned off and on. Everything is working properly.

@kmmccafferty96 kmmccafferty96 changed the title fix(bottomsheet): set index to 0 instead of -1 fix(bottomsheet): support Angular Ivy compiler Jun 19, 2020
@farfromrefug farfromrefug merged commit a4677e4 into nativescript-community:master Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants