306,839 questions
Advice
0
votes
1
replies
15
views
ADA focus visible on pie chart during mouse hover in Highcharts (Angular)
I am using Highcharts to render a pie chart in an Angular CLI project. Everything works fine except for an accessibility issue: when I move the mouse over the pie chart, the ADA focus outline becomes ...
2
votes
1
answer
32
views
SCSS / Angular 19 - Styles defined inside :host, that contain variables defined in other files don't get applied
Hello fellow developers!
I'm facing a problem to which I have no solution and I would require your aid to figure it out.
I have setup a theme.scss file inside an Angular 19 project, which contains ...
-1
votes
0
answers
13
views
Primeng 19 Theme styles are not applied in the Angular 19 Application [closed]
I am migrating from Angular 14 to 19. Now i am in Angular 19 version and primeng 19 version.The primeng component styles are not applied. i addded below code in app.module,ts
import { ...
0
votes
0
answers
18
views
Angular Vitest multiple configurations to do remote debugging locally and run headless in pipeline
Since Angular version 21 it uses Vitest as default testing framework. I come from Karma + Jasmine and we had a customLauncher in our karma configuration file with the --remote-debugging-port=9333 flag ...
0
votes
0
answers
24
views
Playwright flake: locator.click times out on Angular Material slide-toggle because "element is not visible" [closed]
I am writing E2E tests for an Angular application using Playwright. I am encountering a flaky issue when trying to interact with an Angular Material slide toggle (mat-slide-toggle).
Most of the time ...
0
votes
1
answer
71
views
Angular does not recognize button appearance specification color="warn"
I am currently working on a learning project with Angular CLI 21.0.2.
I added the following line of markup, but the button still appears with its default color:
<button matButton="filled" ...
0
votes
0
answers
24
views
How do I resolve a typescript compiler conflict between vitest and NGXS
I have an Angular 21 project in which I am using NGXS for state management. I was using jest as a testing framework but vitest works better.
The issue is that the NGXS @Selector() decorator is showing ...
Advice
0
votes
1
replies
24
views
Using AWS TRANSFORM To migrate Angular 16 to 21
I want to know if it's possible to do Angular migration version automatically with aws TRANSFORM argentic IA?
-1
votes
1
answer
34
views
Lifecycle Management: Safely Unsubscribing from HttpClient in Root-Provided Angular Signal Services [closed]
I am implementing a modern state management pattern in Angular (version 16+) where a dedicated service acts as a state facade, integrating traditional RxJS asynchronous operations with the new Signals ...
-3
votes
0
answers
45
views
Is it good practice to keep HttpClient subscriptions inside an Angular signals-based service? [closed]
I'm experimenting with Angular (with signal and inject) and I'm trying a pattern where a service acts as a small state manager:
The service holds the state in signals (loading, error, items, etc.).
...
0
votes
0
answers
21
views
How to configure Capacitor (not Ionic) for Angular to VS Code Azure Function App integration
Straight forward questions asking for steps to configure Mac iOs.
I need local iPhone / Xcode simulator running Angular in Capacitor (no Ionic) to be able to make http calls to Azure Function App ...
1
vote
2
answers
39
views
Angular control-flow migration rewrites trackBy incorrectly and causes TS2554
After upgrading my Angular project (v19 → v20 → v21), I opted into the control-flow migration (*ngFor → @for).
Some of my templates were migrated like this:
@for (item of data; track trackByFn(index, ...
0
votes
0
answers
47
views
Why does my Angular server table data pulled from an Observable from MongoDB database display only every other edit to the HTML file?
I am working on a MEAN stack web application but I am having issues with getting the administrator single page application to consistently show the table data in a *ngFor loop. On first load up the ...
1
vote
1
answer
29
views
angular-auth-oidc-client with AWS Cognito PKCE Flow state error
I'm building an application that uses AWS Cognito as IDP for authentication and angular-auth-oidc-client library to handle authentication on my Angular 21 client.
I configured it as follows:
config: {
...
Advice
0
votes
3
replies
41
views
How to use a separate classes (stubs) in vitest?
I've migrated my angular 21 tests from jasmine to vitest. And for some of my tests I use separate helper classes (like Page object models). For example:
export class SignUpPageObject {
constructor(...