Skip to content

Commit f74d345

Browse files
committed
Remove RoundRectangle border from around HTML text element. This is based on feedback from the team.
1 parent 35c4e09 commit f74d345

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/ArcGISToolkit/Components/Popups/TextPopupElementView.swift

-6
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ struct TextPopupElementView: View {
2424

2525
var body: some View {
2626
if !popupElement.text.isEmpty {
27-
let roundedRect = RoundedRectangle(cornerRadius: 8)
2827
ZStack {
2928
HTMLTextView(html: popupElement.text, height: $webViewHeight)
30-
.clipShape(roundedRect)
3129
.frame(height: webViewHeight)
3230
if webViewHeight == .zero {
3331
// Show `ProgressView` until `HTMLTextView` has set the height.
3432
ProgressView()
3533
}
36-
else {
37-
roundedRect
38-
.stroke(Color.primary, lineWidth: 1)
39-
}
4034
}
4135
Divider()
4236
}

0 commit comments

Comments
 (0)