Skip to content

bug(mat-sort-header) 'mat-sort-header' adds white space at the bottom of the page #28859

@hanlingczhong

Description

@hanlingczhong

Description

I have used toolbar and sidebar for the navigation. And in the sidebar-content I have the 'router-outlet'.

Now on one of the pages, I use the Material Table there. The table itself works fine but if I add the mat-sort-header to the header th, it will create white space at the bottom of the page for some reason. And I don't think this is a style issue as it only appears if I use 'mat-sort-header'. Other things like pagination/filtering don't create this white space.

image

Does anyone experience the same issue?

Environment

  • Angular: 17.2.3
  • CDK/Material: 17.2.2
  • Browser(s): Firefox and Google Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/sortneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions