Skip to content

feat(Paginator): Option to hide the navigation when there is a single page #34022

Open

Description

@hb20007

Feature Description

The Paginator shows the navigation buttons even when there is only a single page. They are just disabled. If I want to hide the buttons in that case, I would have to target the internal mat-mdc-paginator-navigation-* classes, which are not public API.

Use Case

Hiding the disabled navigation buttons but keeping the useful text that shows how many rows there are

Activity

  1. added
    featureLabel used to distinguish feature request from other issues
    needs triageThis issue needs to be triaged by the team
    on Oct 29, 2026
  2. crisbeto commented on Oct 29, 2026

    @crisbeto
    Member

    I think it was set up this way so that users can see that the buttons can be enabled and that it's not just empty space.

  3. hb20007 commented on Oct 29, 2026

    @hb20007
    Author

    @crisbeto But the users have no control over the enabling of the buttons, so it's not relevant info for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/paginatorfeatureLabel used to distinguish feature request from other issuesgemini-triagedLabel noting that an issue has been triaged by geminineeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions