Skip to content

Commit 352f89f

Browse files
committed
Fix popover background color.
1 parent b362cd4 commit 352f89f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Sources/ArcGISToolkit/Components/Popups/EmbeddedPopupView.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ struct EmbeddedPopupView: View {
5454
)
5555
ProgressView()
5656
}
57-
.frame(maxWidth: .infinity)
5857
}
5958
}
59+
#if targetEnvironment(macCatalyst)
60+
.frame(maxWidth: .infinity, maxHeight: .infinity)
61+
.background(Color(.systemBackground))
62+
#endif
6063
.preference(key: PresentedPopupPreferenceKey.self, value: .init(popup: popup))
6164
.popupViewHeader(title: popup.title)
6265
.task(id: ObjectIdentifier(popup)) {

0 commit comments

Comments
 (0)