Skip to content

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

@JumpLink

Description

@JumpLink

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions