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
TabView: "TypeError: this.page.frame._getNavBarVisible is not a function" when swiping left and then right #1517
Comments
Hey @dragGH102, Please use some layout as root for your custom components instead Page. You do not need also the StackLayout, TabView can be assigned directly as Page content. |
@enchev thank you. Also, when defining the binding context (bindingContext) and using getViewById(<other_layout>, id), do they still work with a non-page container? e.g. includes/modal1/modal1.xml
includes/modal1/modal1.ts (or the page included in TabView)
Apparently everything works but I want to make sure it's the right way to make it Thank you |
Hey @dragGH102,
|
I am experiencing the same error.
Getting If I do what you said, with a Layout, no errors but tabs don't show up. Would you kindly provide an example? On a side note, I jumped from Ionic2 to NativeScript because of performance issues. I have being testing all of your app samples and they are slow on Nexus4. Is there something that I have to consider here? |
Digging a bit more, and testing same behaviour without Angular2, it works. |
+1 code
` log
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am using TabView component.
Apparently the issues I got is due to including pages inside tabItem content (xml includes)
I created a sample project to show the issue: https://github.com/dragGH102/nativescript-sample-tab-view
How to reproduce: swipe left-left (until third tab) and then right (tested on Android)
Error stacktrace:
The text was updated successfully, but these errors were encountered: