Skip to content

Dialog fixes #18

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 2 commits into from
Jul 21, 2021
Merged

Dialog fixes #18

merged 2 commits into from
Jul 21, 2021

Conversation

edusperoni
Copy link
Collaborator

PR Checklist

What is the current behavior?

NgViewRef would treat ContentView as a non-native view, but it has a native view associated by default.

Nested legacy dialogs using viewContainerRef would fail to open due to setting the wrong _ngDialogRoot

What is the new behavior?

We no longer ignore ContentView and _ngDialogRoot now correctly points to the correct view.

This PR doesn't need to be squashed

Fixes #17.

@edusperoni edusperoni requested a review from NathanWalker July 9, 2021 12:11
@cla-bot cla-bot bot added the cla: yes label Jul 9, 2021
@NathanWalker NathanWalker merged commit 5bfafd1 into main Jul 21, 2021
@NathanWalker NathanWalker deleted the fix/dialogs branch July 21, 2021 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with NativeScript 8 and Angular 12 concerning modals
2 participants