Browse Source
- Scope DynamicOverlayContainer and related providers to an isolated child injector created per DynamicMatDialog instance, preventing shared state leaks across multiple dialog usages - Introduce PARENT_OVERLAY_CONTAINER token so DynamicOverlayContainer can fall back to the global overlay container when no custom element is set - Replace _containerElement assignment with a local _customElement field and override getContainerElement() for clean delegation logic - Simplify open() method using try/finally to ensure the container element is always reset after dialog creation, regardless of errorspull/15069/head
committed by
Vladyslav Prykhodko
3 changed files with 43 additions and 31 deletions
Loading…
Reference in new issue