Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
28 stars 7 forks source link

Floating Panel Animation Differs From Built-In Sheet #675

Open rolson opened 4 months ago

rolson commented 4 months ago

The floating panel animates differently than the built-in sheet. It seems like it "rolls out" as opposed to pushing content around like the sheet does.

From @dfeinzimer :

I think it's that the FP is implemented more as a view that grows in height (from zero) rather than a view that's always at height and just slides up.

mhdostal commented 4 months ago

In iOS 15(?, 14?) Apple Maps changes how their floating panel works. Previously, the "handle" would be on the bottom in non-compact environments and on the top in compact environments. Now the "handle" is always on the top. We should consider changing the behavior for our Floating Panel.

dfeinzimer commented 4 months ago

Now the "handle" is always on the top.

Interesting observation. That would definitely allow us to simplify some of the internals.