-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Hi @NathanWalker @NathanaelA @rigor789 @gabrielbiga @sitefinitysteve
I am using @nstudio/nativescript-floatingactionbutton version 2.1.0 in angular project and FAB button works fine.
But i got error when i do logout from my application. Its just navigate to login page.. no special code inside.
Error:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onCreateView failed
System.err: TypeError: Right-hand side of 'instanceof' is not an object
System.err:
System.err: StackTrace:
System.err: (file: apps\oxseco\src\webpack:\d:..\node_modules@nativescript\core\ui\layouts\flexbox-layout\flexbox-layout.js:14:0)
System.err: at applyAllNativeSetters(file: apps\xxxxx\src\webpack:\d:....\node_modules@nativescript\core\ui\core\properties\properties.js:1065:0)
is there any nativescript core dependency is missing in the plugin?
html:
<FAB
(tap)="fabTap()"
text=""
rippleColor="#f1f1f1"
class="fas fab-button"
>
ts:
registerElement(
'Fab',
() => require('@nstudio/nativescript-floatingactionbutton').Fab
);
Note: Without FAB implementation in html it works fine. so it must be an error from the plugin only.
my application package json have
"@angular/core": "9.1.0",
"@angular/forms": "9.1.0",
"@angular/platform-browser": "9.1.0",
"@angular/platform-browser-dynamic": "9.1.0",
"@angular/router": "9.1.0",
"@nativescript/angular": "~9.0.0",
"@nativescript/core": "~6.5.5",
Can anyone guide me