You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the NativeScriptAnimationsModule with shadow on a element you got this error: ERROR Error: View already has a parent. View: Button(3) Parent: StackLayout(2)
Which platform(s) does your issue occur on?
iOS
Please, provide the following version numbers that your issue occurs with:
CLI: 6.1.2
Cross-platform modules: 6.1.0
Runtime: 6.1.0
Plugin(s):
"nativescript-ngx-shadow": "6.5.0"
"nativescript-angular": "8.2.0"
Please, tell us how to recreate the issue in as much detail as possible.
Just import the NativeScriptAnimationsModule in your app.module.ts then use the shadow directive on an element.
This is probably caused by the addIosWrapper function inside the directive
When using the
NativeScriptAnimationsModule
with shadow on a element you got this error:ERROR Error: View already has a parent. View: Button(3) Parent: StackLayout(2)
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Just import the
NativeScriptAnimationsModule
in your app.module.ts then use the shadow directive on an element.This is probably caused by the addIosWrapper function inside the directive
nativescript-ngx-shadow/lib/src/nativescript-ngx-shadow/ng-shadow.directive.ts
Lines 126 to 140 in 6ca2850
Is there any code involved?
Here is a sample project to reproduce the issue : https://github.com/acivier-serial/issue-ngx-shadow-angular-animation
The text was updated successfully, but these errors were encountered: