Skip to content

bug(mat-table): sort arrows are disproportionate and have rendering bugs #28422

Open
@FrostKiwi

Description

@FrostKiwi

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

The sort arrow is an amalgamation of 3 separate rectangular boxes. As a result this introduces a row of rendering bugs, depending on device, browser, zoom level, dpi etc.

  • The arrow does not look the same from column to column, changing appearance between columns
  • The arrow loses symmetrical form
  • The arrow has a flat top or sometimes even holes where the two rectangles meet in rare cases, on a specific combination of browser, zoom level, dpi etc.

I wish it was rather one single unicode glyph to side-step rendering issues, though I recognize the issue in animating that.

Reproduction

Take a look at the sample in https://material.angular.io/components/sort/overview

Expected Behavior

Arrow should look proportional, as before in 13.x.x

Actual Behavior

Arrow changes proportion from column to column

Environment

Angular CLI: 16.2.10
Node: 21.5.0 (Unsupported)
Package Manager: npm 9.3.0
OS: win32 x64

Angular: 16.2.12
... animations, cdk, common, compiler, compiler-cli, core, forms
... localize, material, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1602.10
@angular-devkit/build-angular 16.2.10
@angular-devkit/core 16.2.10
@angular-devkit/schematics 16.2.10
@angular/cli 16.2.10
@schematics/angular 16.2.10
rxjs 7.5.7
typescript 4.9.5
zone.js 0.13.3

Activity

added
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triageThis issue needs to be triaged by the team
on Jan 22, 2024
tbunique

tbunique commented on Nov 26, 2024

@tbunique

Still present in Angular Material 19: https://v19.material.angular.io/components/table/examples#table-overview
Name and Progress have different arrow thickness

Image

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

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/table

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @andrewseguin@tbunique@FrostKiwi

        Issue actions

          bug(mat-table): sort arrows are disproportionate and have rendering bugs · Issue #28422 · angular/components