arcgis-maps-sdk-swift-toolkit
arcgis-maps-sdk-swift-toolkit copied to clipboard
`FloatingPanel` - Content without container is troublesome
trafficstars
If the content provided to the Floating Panel isn't placed within some from of container then there's unexpected behavior. The selected detent doesn't work properly and the resize handle moves out of sync with the finger location.
With container
// initial detent set to half
VStack {
Text("Title")
List {
Text("Item 1")
Text("Item 2")
Text("Item 3")
}
}
Without container
// initial detent set to half
Text("Title")
List {
Text("Item 1")
Text("Item 2")
Text("Item 3")
}