MatSort: When using signals sorting does not work in production when hosted on IIS
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne mit der verknüpften StackBlitz-Reproduktion und dem standardmäßigen MatSort-Beispiel und vergleiche anschließend das Verhalten, nachdem ein Spaltenwert in ein signal geändert wurde. Reproduziere den Fehler in einem auf IIS gehosteten Production-Build in Chrome oder Firefox; abgeschlossen ist die Aufgabe, wenn das Sortieren dort wie in der Entwicklung funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100