Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2800b48
Merge pull request #266 from Walkover-Web-Solution/main
prakharlowanshi11 Oct 30, 2025
d0a4a50
Merge pull request #269 from Walkover-Web-Solution/main
prakharlowanshi11 Nov 1, 2025
6129b1b
Merge pull request #280 from Walkover-Web-Solution/main
prakharlowanshi11 Nov 5, 2025
cba5218
Merge pull request #296 from Walkover-Web-Solution/main
aliasgar-walker Nov 27, 2025
cb3b0d6
Merge pull request #324 from Walkover-Web-Solution/main
prakharlowanshi11 Dec 9, 2025
40902ba
Merge pull request #339 from Walkover-Web-Solution/main
prakharlowanshi11 Dec 17, 2025
0868bb3
Merge pull request #348 from Walkover-Web-Solution/main
prakharlowanshi11 Dec 22, 2025
0dc5b68
Merge pull request #355 from Walkover-Web-Solution/main
prakharlowanshi11 Dec 26, 2025
b506fea
Merge pull request #363 from Walkover-Web-Solution/dailog-open-issue
prakharlowanshi11 Jan 5, 2026
367520e
Merge pull request #370 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 13, 2026
bae45fb
Merge pull request #386 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 15, 2026
cf30112
Merge pull request #388 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 15, 2026
5d33b96
Merge pull request #393 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 16, 2026
fd6212d
Merge pull request #405 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 21, 2026
13b282c
Merge pull request #407 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 21, 2026
7a13fe9
Merge pull request #409 from Walkover-Web-Solution/main
prakharlowanshi11 Jan 27, 2026
da6ebf4
Merge pull request #416 from Walkover-Web-Solution/main
Chandan-walker Feb 13, 2026
5c1832e
Merge pull request #427 from Walkover-Web-Solution/main
Chandan-walker Feb 23, 2026
2ab94de
Merge pull request #433 from Walkover-Web-Solution/main
Chandan-walker Feb 27, 2026
080f0e4
Merge pull request #441 from Walkover-Web-Solution/main
Chandan-walker Mar 5, 2026
c42cad8
Revert "Production pr "
Chandan-walker Mar 5, 2026
ec7407c
Merge pull request #442 from Walkover-Web-Solution/revert-441-main
Chandan-walker Mar 5, 2026
7630340
Revert "Revert "Production pr ""
Chandan-walker Mar 5, 2026
e12d855
Merge pull request #458 from Walkover-Web-Solution/P0069-clean
Chandan-walker Mar 10, 2026
fe10cc4
Merge pull request #443 from Walkover-Web-Solution/revert-442-revert-…
Chandan-walker Mar 10, 2026
4a40150
Merge pull request #459 from Walkover-Web-Solution/main
Chandan-walker Mar 10, 2026
7cfc39f
Merge pull request #462 from Walkover-Web-Solution/P0069-clean
Chandan-walker Mar 10, 2026
238885b
Merge pull request #463 from Walkover-Web-Solution/main
prakharlowanshi11 Mar 10, 2026
84b2b8f
Merge pull request #460 from Walkover-Web-Solution/P0076-clean
Chandan-walker Mar 10, 2026
b731488
Merge pull request #454 from Walkover-Web-Solution/P0073-clean
Chandan-walker Mar 10, 2026
ce3e0d0
sync branch with main
Chandan-walker Mar 10, 2026
a0f5806
fixed design issue
Chandan-walker Mar 10, 2026
b81954f
Merge pull request #464 from Walkover-Web-Solution/P0069-clean
prakharlowanshi11 Mar 10, 2026
be93eb4
Merge pull request #465 from Walkover-Web-Solution/P0077-clean
Chandan-walker Mar 10, 2026
447d065
fixed issue of overlay
Chandan-walker Mar 10, 2026
677b81b
fixed overlay issues
Chandan-walker Mar 11, 2026
04c136f
resolved conflicts
Chandan-walker Mar 11, 2026
3b4b11e
resolved conflicts
Chandan-walker Mar 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/proxy-auth/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ export class AppComponent extends BaseComponent implements OnInit, OnDestroy {
public initOtpProvider() {
if (!environment.production) {
const sendOTPConfig = {
referenceId: '4512365f177271329169a9754b71d4a',
// referenceId: '4512365m176216342869087ae458e09',
// type: 'organization-details',
// loginRedirectUrl: 'https://www.google.com',
// showCompanyDetails: false,
authToken:
'UCtyL0ZtR3lWUUlqdWxzNC9ZWFpjNmlxdWZ0elBtb3ErUWc4UzJwNCt0TEg2djBGOTJWTENKSGRRbVNFU1pvZk1xU3dRZlZnY3R6T2p3Tlp2ZHRTSVY0WDR1S1ZZQVJzTlk1b1dGbS9Cano0THdOaldMejZqT05WQ3M4eXVVRG1pZ1NJOVB6QVNLYW9GdWlkTGxFczd0WnJuaW11MkpRMDBqZjBqRGQ0NEp6S0pvTG1WcEtPM3RrWVZ2Q2Y4UGlTT3hKaUlnNkplSEhrSGpyRWpGeU1DZz09',
'ZGlYV0Z4ekRleUQwZEhXR2JvRllKaWh6cmhhb2hhTnhTMGdDdHlpa2ZaOU9LcGh5M3puLzZ6QTVRb3pGdGNPU0xlSC9SQjI3ckNweWk5cWg1aytpOVRTVmtUWXFRQW5rWEZ0c21KeEN6c0FmK1d5bWQxUk9lZHM4anlHSDI5Q3dxL0o3V0h6Yk9kMDBSVE5pc1FPekJkQVg3QXZ4K2xFbUViUGdhQ0Z6d3hGNXQreEN2dytUQW9GOEdseFFBU3FaNXYzbFVUalJDRitqc0EvQVduQUkrUT09',
// type: 'user-management',
// isHidden: true,
theme: 'dark',
// theme: 'dark',
// isPreview: true,
isLogin: true,
// isLogin: true,
target: '_self',
success: (data) => {
console.log('success response', data);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.light-theme {
background: rgb(33 37 40 / 95%);
}
.user-profile-mode {
.user-profile-mode:not(.dark-theme) {
background: #ffffff !important;
}

Expand Down
42 changes: 30 additions & 12 deletions apps/proxy-auth/src/app/shadow-dom-overlay-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@ import { OverlayContainer } from '@angular/cdk/overlay';
import { Platform } from '@angular/cdk/platform';

const CONTAINER_CLASS = 'cdk-overlay-container';
/** Full-viewport overlay container style so positioning is viewport-based when in shadow root */
/**
* Full-viewport overlay container style so positioning is viewport-based when in shadow root.
* z-index is set to 9999 — well above the content z-indices used inside the shadow root
* (send-otp .container = 1000, user-profile/user-management .container = 10). The container
* is also appended as the LAST child of the shadow root so that, even when a content element
* ends up with an equal z-index via the CSS cascade, DOM-order tie-breaking still favours the
* overlay.
*/
const OVERLAY_CONTAINER_STYLE =
'position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;pointer-events:none!important;z-index:1000!important;';
'position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;pointer-events:none!important;z-index:9999!important;';
/**
* OverlayContainer that:
* - When proxy-auth with shadow root exists (script load): attaches the overlay as the
* **first** child of the shadow root with full-viewport fixed style, so it is NOT
* inside the fixed .container and positioning is correct (dropdown below the right field).
* **last** child of the shadow root with full-viewport fixed style and a high z-index,
* ensuring MatDialog / MatSnackBar / dropdowns always render above the component content.
* - Otherwise: attaches to document.body (default behaviour).
*/
@Injectable()
Expand All @@ -20,6 +27,24 @@ export class ShadowDomOverlayContainer extends OverlayContainer {
super(document, _platform);
}

/**
* Before returning the cached container, check whether it is still
* connected to the live document. This can become false when the client
* application does a SPA navigation that removes the <proxy-auth> custom
* element (and therefore its shadow root) from the DOM. A new
* <proxy-auth> element is created by initVerification() on the next
* navigation, but the CDK base class would keep returning the old,
* detached container — causing MatDialog / MatSnackBar to render into an
* invisible node. Clearing _containerElement forces _createContainer()
* to run again and attach the overlay to the new shadow root.
*/
override getContainerElement(): HTMLElement {
if (this._containerElement && !this._containerElement.isConnected) {
this._containerElement = null;
}
return super.getContainerElement();
}

protected override _createContainer(): void {
if (!this._platform.isBrowser) {
return;
Expand All @@ -31,15 +56,8 @@ export class ShadowDomOverlayContainer extends OverlayContainer {
const parent = this._getOverlayParent();
if (parent !== this._document.body) {
container.setAttribute('style', OVERLAY_CONTAINER_STYLE);
const first = parent.firstChild;
if (first) {
parent.insertBefore(container, first);
} else {
parent.appendChild(container);
}
} else {
parent.appendChild(container);
}
parent.appendChild(container);
this._containerElement = container;
}

Expand Down
Loading