Skip to content

[Bottom Navigation] Confusing Duplicate Bottom Navigation Components and Broken Package #478

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

Open
JumpLink opened this issue Apr 14, 2025 · 0 comments

Comments

@JumpLink
Copy link

I'm new to NativeScript and wanted to start with Material Design's BottomNavigation component. I encountered several issues that I believe need to be addressed:

  1. Package Confusion:

    • There are two similar packages available:
      • @nativescript-community/ui-material-bottom-navigation
      • @nativescript-community/ui-material-bottomnavigationbar
        This creates confusion for new users like myself, as it's unclear which one should be used.
  2. Broken Package:

    • The @nativescript-community/ui-material-bottom-navigation package appears to be broken:
      • All TypeScript files have incorrect prefixes (using index instead of bottomnavigation)
      • After manually renaming the files (e.g., from index.d.ts to bottomnavigation.d.ts), it partially worked
      • The other package (@nativescript-community/ui-material-bottomnavigationbar) works better

This issue is potentially related to #468, as it might be caused by the same underlying problems.

Suggested Actions:

  1. Clarify which package is the recommended one
  2. Either fix or deprecate the broken package
  3. Update documentation to prevent confusion for new users
  4. Consider merging the functionality into a single, well-maintained package

Environment:

  • NativeScript version: 8.9.2
  • Platform: Fedora Linux 41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant