We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c4e09 commit f74d345Copy full SHA for f74d345
Sources/ArcGISToolkit/Components/Popups/TextPopupElementView.swift
@@ -24,19 +24,13 @@ struct TextPopupElementView: View {
24
25
var body: some View {
26
if !popupElement.text.isEmpty {
27
- let roundedRect = RoundedRectangle(cornerRadius: 8)
28
ZStack {
29
HTMLTextView(html: popupElement.text, height: $webViewHeight)
30
- .clipShape(roundedRect)
31
.frame(height: webViewHeight)
32
if webViewHeight == .zero {
33
// Show `ProgressView` until `HTMLTextView` has set the height.
34
ProgressView()
35
}
36
- else {
37
- roundedRect
38
- .stroke(Color.primary, lineWidth: 1)
39
- }
40
41
Divider()
42
0 commit comments