Comments (8)
Can you share your xml? I believe you forgot to add the xmlns
to the page component so the builder doesn't know where to locate the correct file to build the FAB. That should help here. Please let me know, thanks.
from nativescript-floatingactionbutton.
This is the hole project
test-fab.zip
from nativescript-floatingactionbutton.
I am faced with similar issue
from nativescript-floatingactionbutton.
from nativescript-floatingactionbutton.
The Error output in the first comment !
from nativescript-floatingactionbutton.
Overlooked it. Thanks. So yes I'm not gonna download a zip can you just paste the relevant code files here in markdown. Either you don't have the xmlns added to the page for the parser to know what the Fab is or the pod didn't install correctly for iOS. I just added this to a project yesterday and it works fine on Android and iOS so definitely we can find what's causing the issue for you. Thanks.
from nativescript-floatingactionbutton.
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:drawer="nativescript-telerik-ui/sidedrawer" xmlns:sidedrawer="/sidedrawer" xmlns:actionBar="/actionBar" xmlns:FAB="nativescript-floatingactionbutton" xmlns:IC="nativescript-web-image-cache" navigatedTo="navigatedTo" navigatingTo="navigatingTo" navigatingFrom="navigatingFrom" loaded="pageLoaded"> <FAB:fab tap="{{fabTap}}" row="1" icon="~/images/ic_add_white.png" rippleColor="#5f7358" class="fab-button" /> </Page>
from nativescript-floatingactionbutton.
All seems okay. I have the FAB working fine in 3.1 and 3.2 plain NS apps. It works fine also with 3.2 w/ Angular. I've just updated a couple of apps today and have not encountered any issue.
If you're still having this error please let me know.
from nativescript-floatingactionbutton.
Related Issues (20)
- Can I remove padding around icon? HOT 1
- Calling js method onCreateView failed HOT 2
- Error when adding the plugin HOT 1
- JS: topmost() is deprecated. Use Frame.topmost() instead. HOT 2
- How to use svg images HOT 2
- Fab is not showing when scroll completes HOT 1
- text is not working. HOT 6
- loadFromFontIconCode() is deprecated HOT 4
- Adapt icon to screen HOT 10
- Styles not applied on app build for production HOT 2
- FAB 2.0.1: font icons have different sizes on different screens HOT 1
- Crash in flexbox-layout.android.js - Right-hand side of 'instanceof' is not an object HOT 5
- NativeScript 7 update HOT 1
- Could not load view for: Fab.ReferenceError: NativeClass is not defined when used with {N} 7 with angular HOT 12
- FAB.TypeError: core_1.Property is not a constructor HOT 5
- Changing color to text does not work HOT 6
- Display the action items when Fab Button is clicked - Nativescript7 Angular10 HOT 3
- @nativescript/core still imported for lower version than NS7
- icon appearing bigger and cannot be resized HOT 2
- App is crashing on NS Angular
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-floatingactionbutton.