You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous version in which this bug was not present was
...
Description
Cannot use without zone.js / or in components with ChangeDetectorRef detached.
Would be great if Angular Material Team would implement support for zone-less apps (or at least provide public changeDetectorRef param in each component so that developer could manually trigger component changes on need.)
I know it is on your roadmap. However, technically it is a bug, not a missing feature to not have support for native Angular options (ngZone: noop, cdRef.detach)
Reproduction
Steps to reproduce:
cdRef.detach() in component constructor / or in main.ts set ngZone noop (e.g. .....bootstrapModule(AppModule, {ngZone: 'noop'}})
use material component: mat-input, mat-autocomplete, mat-menu, .. etc.
it wont work + on some events will throw console.error (e.g. Cannot read properties of undefined (reading 'nativeElement'))
Is this a regression?
The previous version in which this bug was not present was
Description
Cannot use without zone.js / or in components with ChangeDetectorRef detached.
Would be great if Angular Material Team would implement support for zone-less apps (or at least provide public changeDetectorRef param in each component so that developer could manually trigger component changes on need.)
I know it is on your roadmap. However, technically it is a bug, not a missing feature to not have support for native Angular options (ngZone: noop, cdRef.detach)
Reproduction
Steps to reproduce:
Stackblitz https://stackblitz.com/edit/components-issue-6urqfj?file=src%2Fapp%2Fexample-component.ts
Expected Behavior
Actual Behavior
Environment
The text was updated successfully, but these errors were encountered: