File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,12 +54,6 @@ function GlobalModals() {
5454
5555 return (
5656 < >
57- { shouldRenderDeferredModals && (
58- < Suspense fallback = { null } >
59- < LazyUpdateAppModal />
60- </ Suspense >
61- ) }
62- { /* Those below are only available to the authenticated user. */ }
6357 < GrowlNotification ref = { growlRef } />
6458 < DelegateNoAccessModalProvider >
6559 { shouldRenderContextMenu && (
@@ -74,14 +68,20 @@ function GlobalModals() {
7468 { shouldRenderDeferredModals && (
7569 < >
7670 { /* Each modal lives in its own Suspense boundary so an unrelated chunk's load latency
77- or failure cannot delay or suppress the others (e.g. an incoming screen-share request). */ }
71+ or failure cannot delay or suppress the others (e.g. an incoming screen-share request).
72+ Order matters: BaseModal hardcodes zIndex: 1 on every modal, so DOM source order
73+ determines stacking when modals coincide. UpdateAppModal is last so the forced-update
74+ prompt sits on top if it ever overlaps with the others. */ }
7875 < Suspense fallback = { null } >
7976 { /* Proactive app review modal shown when user has completed a trigger action */ }
8077 < LazyProactiveAppReviewModalManager />
8178 </ Suspense >
8279 < Suspense fallback = { null } >
8380 < LazyScreenShareRequestModal />
8481 </ Suspense >
82+ < Suspense fallback = { null } >
83+ < LazyUpdateAppModal />
84+ </ Suspense >
8585 </ >
8686 ) }
8787 </ >
You can’t perform that action at this time.
0 commit comments