Skip to content

MatSort: When using signals sorting does not work in production when hosted on IIS #31695

@stefandascalu64

Description

@stefandascalu64

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

when using MatSort with signals the sorting works only in development. If you move everything to production and host it on IIS the sorting no longer works

Reproduction

StackBlitz link: https://stackblitz.com/edit/39hv8b6m

Steps to reproduce:

  1. take standard sorting example
  2. change a column type to signal
  3. perform sorting on column
  4. works
  5. deploy to IIS with production
  6. perform sorting
  7. fails to sort

Expected Behavior

Sorting should work with signal values regardless if they system is in development or it is in production and hosted on IIS

Actual Behavior

The sorting does not work when in production and hosted on IIS.

Environment

  • Angular: 20.1
  • CDK/Material: 20.1
  • Browser(s): Chrome, Firefox
  • Operating System: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: 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