-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 (or Tabs) inside BottomNavigation bug #9051
Projects
Comments
lbracun
changed the title
TabView inside BottomNavigation bug
TabView (or Tabs) inside BottomNavigation bug
Nov 25, 2020
Hello, are there any updates on this? we are having exactly the same issue on android when navigating to a page with a Listview.
|
NathanWalker
added a commit
that referenced
this issue
Jan 17, 2021
4 tasks
NathanWalker
added a commit
that referenced
this issue
Jan 17, 2021
rigor789
added a commit
that referenced
this issue
Jan 20, 2021
* chore(release): @nativescript/core@7.1.1 * feat(core): rollup additional Utils * fix(webpack): support other workspace config styles * chore(release): @nativescript/core@7.1.2 * fix(android): BottomNavigation fragment child already has a parent (#9148) closes #8132 closes #7901 closes #9051 closes #8251 * chore(release): @nativescript/core@7.1.3 * types: missing typings for iosIgnoreSafeArea (#9153) * Update build-docs.sh Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com> Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Describe the bug
If TabView is nested inside BottomNavigation, and you try to navigate to another page, the app crashes.
To Reproduce
ns run android
Expected behavior
Should be able to navigate to page-2
Sample project
I have created sample project with 2 BottomNavigation tabs. Each tab has button that navigates to page-2, but only second tab has TabView. Navigation from first tab works. If you try to navigate from second tab, the error from above occurs.
https://github.com/lbracun/ns-bug
Additional context
I only tried it on Android, don't know if it happens on iOS too.Tried it on iOS, and it works as intended. So the problem only happens on Android.
Forgot to mention before: i tried to create sample on the playground, but the error didn't show (because of NS 6 i think).
Update:
I also tried using Tabs instead of TabView, but same thing happens.
The text was updated successfully, but these errors were encountered: