We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
*ngIf
*ngSwitch
Both *ngIf and *ngSwitch directives will not work as expected for iOS, while using it in Modal Page. Reported by @piotrilski
It seems to be affecting usage of *ngIf and *ngSwitch on angular as well. I made a fork of sdk-examples-ng repo here: https://github.com/piotrilski/nativescript-sdk-examples-ng/tree/pilski/modal-issue Changes I made: https://github.com/piotrilski/nativescript-sdk-examples-ng/pull/1/files To see what's going on simply run it and go to ModalPage -> Modal Page Example and hit first EnterStartDate button to open a slightly modified modal. It behaves exactly like in
The text was updated successfully, but these errors were encountered:
There's a workaround described by @kssfilo here: NativeScript/NativeScript#4151 (comment)
TL;DR - importing Page and using this method: page.nativeView.setNeedsLayout() once the value binded to ngIf/ngSwitch changed sorted out the issue.
page.nativeView.setNeedsLayout()
Sorry, something went wrong.
sis0k0
No branches or pull requests
Both
*ngIf
and*ngSwitch
directives will not work as expected for iOS, while using it in Modal Page.Reported by @piotrilski
The text was updated successfully, but these errors were encountered: