File tree 3 files changed +258
-320
lines changed
Sources/ArcGISToolkit/Components/FloorFilter
3 files changed +258
-320
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ public struct FloorFilter: View {
122
122
siteAndFacilitySelectorIsPresented. toggle ( )
123
123
} label: {
124
124
Image ( systemName: " building.2 " )
125
+ . accessibilityIdentifier ( " Floor Filter button " )
125
126
. padding ( . toolkitDefault)
126
127
. opacity ( viewModel. isLoading ? . zero : 1 )
127
128
. overlay {
@@ -175,13 +176,7 @@ public struct FloorFilter: View {
175
176
)
176
177
}
177
178
178
- /// A configured `SiteAndFacilitySelector` view.
179
- ///
180
- /// The layering of the `SiteAndFacilitySelector` over a `RoundedRectangle` is needed to
181
- /// produce a rounded corners effect. We can not simply use `.esriBorder()` here because
182
- /// applying the `cornerRadius()` modifier on `SiteAndFacilitySelector`'s underlying
183
- /// `NavigationView` causes a rendering bug. This bug remains in iOS 16 with
184
- /// `NavigationStack` and has been reported to Apple as FB10034457.
179
+ /// A configured `SiteAndFacilitySelector`.
185
180
@ViewBuilder private var siteAndFacilitySelector : some View {
186
181
if horizontalSizeClass == . compact {
187
182
Color . clear
You can’t perform that action at this time.
0 commit comments